Skip to content

Instantly share code, notes, and snippets.

@jfirebaugh
Created July 14, 2010 00:46
Show Gist options
  • Save jfirebaugh/474829 to your computer and use it in GitHub Desktop.
Save jfirebaugh/474829 to your computer and use it in GitHub Desktop.
Feature: Invoking steps
Scenario: Invoking steps
When I invoke steps
When /^I invoke steps$/ do
steps ""
end
$ cucumber features/invoke_steps.feature --backtrace
Using the default profile...
Feature: Invoking steps
Scenario: Invoking steps # features/invoke_steps.feature:2
When I invoke steps # features/step_definitions/invoke_steps.rb:1
wrong # of arguments(3 for 4)
Java::GherkinParser::Parser (ArgumentError)
/Users/jfire/.rvm/gems/jruby-1.5.1/gems/gherkin-2.1.3-java/lib/gherkin/native/java.rb:30:in `new_proxy'
/Users/jfire/.rvm/gems/jruby-1.5.1/gems/gherkin-2.1.3-java/lib/gherkin/native/java.rb:30:in `new'
/Users/jfire/.rvm/gems/jruby-1.5.1/gems/cucumber-0.8.4/bin/../lib/cucumber/step_mother.rb:218:in `invoke_steps'
/Users/jfire/.rvm/gems/jruby-1.5.1/gems/cucumber-0.8.4/bin/../lib/cucumber/rb_support/rb_world.rb:27:in `steps'
/Users/jfire/Development/SCM/features/step_definitions/invoke_steps.rb:2
/Users/jfire/.rvm/gems/jruby-1.5.1/gems/cucumber-0.8.4/bin/../lib/cucumber/core_ext/instance_exec.rb:48:in `instance_exec'
/Users/jfire/.rvm/gems/jruby-1.5.1/gems/cucumber-0.8.4/bin/../lib/cucumber/core_ext/instance_exec.rb:48:in `cucumber_instance_exec'
/Users/jfire/.rvm/gems/jruby-1.5.1/gems/cucumber-0.8.4/bin/../lib/cucumber/core_ext/instance_exec.rb:69:in `cucumber_run_with_backtrace_filtering'
/Users/jfire/.rvm/gems/jruby-1.5.1/gems/cucumber-0.8.4/bin/../lib/cucumber/core_ext/instance_exec.rb:36:in `cucumber_instance_exec'
/Users/jfire/.rvm/gems/jruby-1.5.1/gems/cucumber-0.8.4/bin/../lib/cucumber/rb_support/rb_step_definition.rb:54:in `invoke'
/Users/jfire/.rvm/gems/jruby-1.5.1/gems/cucumber-0.8.4/bin/../lib/cucumber/step_match.rb:26:in `invoke'
/Users/jfire/.rvm/gems/jruby-1.5.1/gems/cucumber-0.8.4/bin/../lib/cucumber/ast/step_invocation.rb:62:in `invoke'
/Users/jfire/.rvm/gems/jruby-1.5.1/gems/cucumber-0.8.4/bin/../lib/cucumber/ast/step_invocation.rb:41:in `accept'
/Users/jfire/.rvm/gems/jruby-1.5.1/gems/cucumber-0.8.4/bin/../lib/cucumber/ast/tree_walker.rb:99:in `visit_step'
/Users/jfire/.rvm/gems/jruby-1.5.1/gems/cucumber-0.8.4/bin/../lib/cucumber/ast/tree_walker.rb:164:in `broadcast'
/Users/jfire/.rvm/gems/jruby-1.5.1/gems/cucumber-0.8.4/bin/../lib/cucumber/ast/tree_walker.rb:98:in `visit_step'
/Users/jfire/.rvm/gems/jruby-1.5.1/gems/cucumber-0.8.4/bin/../lib/cucumber/ast/step_collection.rb:15:in `accept'
/Users/jfire/.rvm/gems/jruby-1.5.1/gems/cucumber-0.8.4/bin/../lib/cucumber/ast/step_collection.rb:14:in `each'
/Users/jfire/.rvm/gems/jruby-1.5.1/gems/cucumber-0.8.4/bin/../lib/cucumber/ast/step_collection.rb:14:in `accept'
/Users/jfire/.rvm/gems/jruby-1.5.1/gems/cucumber-0.8.4/bin/../lib/cucumber/ast/tree_walker.rb:93:in `visit_steps'
/Users/jfire/.rvm/gems/jruby-1.5.1/gems/cucumber-0.8.4/bin/../lib/cucumber/ast/tree_walker.rb:164:in `broadcast'
/Users/jfire/.rvm/gems/jruby-1.5.1/gems/cucumber-0.8.4/bin/../lib/cucumber/ast/tree_walker.rb:92:in `visit_steps'
/Users/jfire/.rvm/gems/jruby-1.5.1/gems/cucumber-0.8.4/bin/../lib/cucumber/ast/scenario.rb:53:in `accept'
/Users/jfire/.rvm/gems/jruby-1.5.1/gems/cucumber-0.8.4/bin/../lib/cucumber/step_mother.rb:327:in `with_hooks'
/Users/jfire/.rvm/gems/jruby-1.5.1/gems/cucumber-0.8.4/bin/../lib/cucumber/step_mother.rb:348:in `before_and_after'
/Users/jfire/.rvm/gems/jruby-1.5.1/gems/cucumber-0.8.4/bin/../lib/cucumber/step_mother.rb:326:in `with_hooks'
/Users/jfire/.rvm/gems/jruby-1.5.1/gems/cucumber-0.8.4/bin/../lib/cucumber/step_mother.rb:337:in `call'
/Users/jfire/.rvm/gems/jruby-1.5.1/gems/cucumber-0.8.4/bin/../lib/cucumber/step_mother.rb:337:in `around'
/Users/jfire/.rvm/gems/jruby-1.5.1/gems/cucumber-0.8.4/bin/../lib/cucumber/language_support/language_methods.rb:13:in `around'
/Users/jfire/.rvm/gems/jruby-1.5.1/gems/cucumber-0.8.4/bin/../lib/cucumber/language_support/language_methods.rb:98:in `call'
/Users/jfire/.rvm/gems/jruby-1.5.1/gems/cucumber-0.8.4/bin/../lib/cucumber/language_support/language_methods.rb:98:in `execute_around'
/Users/jfire/Development/SCM/features/support/sequel.rb:3:in `call'
/Users/jfire/Development/SCM/features/support/sequel.rb:3
/Users/jfire/.rvm/gems/jruby-1.5.1/gems/sequel-3.11.0.01a6a5338b39c7eac576d17cb99118dc9d56daf9/lib/sequel/database/query.rb:152:in `_transaction'
/Users/jfire/.rvm/gems/jruby-1.5.1/gems/sequel-3.11.0.01a6a5338b39c7eac576d17cb99118dc9d56daf9/lib/sequel/database/query.rb:138:in `transaction'
/Users/jfire/.rvm/gems/jruby-1.5.1/gems/sequel-3.11.0.01a6a5338b39c7eac576d17cb99118dc9d56daf9/lib/sequel/connection_pool/single.rb:22:in `hold'
/Users/jfire/.rvm/gems/jruby-1.5.1/gems/sequel-3.11.0.01a6a5338b39c7eac576d17cb99118dc9d56daf9/lib/sequel/database/connecting.rb:189:in `synchronize'
/Users/jfire/.rvm/gems/jruby-1.5.1/gems/sequel-3.11.0.01a6a5338b39c7eac576d17cb99118dc9d56daf9/lib/sequel/database/query.rb:136:in `transaction'
/Users/jfire/Development/SCM/features/support/sequel.rb:2
/Users/jfire/.rvm/gems/jruby-1.5.1/gems/cucumber-0.8.4/bin/../lib/cucumber/core_ext/instance_exec.rb:48:in `instance_exec'
/Users/jfire/.rvm/gems/jruby-1.5.1/gems/cucumber-0.8.4/bin/../lib/cucumber/core_ext/instance_exec.rb:48:in `cucumber_instance_exec'
/Users/jfire/.rvm/gems/jruby-1.5.1/gems/cucumber-0.8.4/bin/../lib/cucumber/core_ext/instance_exec.rb:69:in `cucumber_run_with_backtrace_filtering'
/Users/jfire/.rvm/gems/jruby-1.5.1/gems/cucumber-0.8.4/bin/../lib/cucumber/core_ext/instance_exec.rb:36:in `cucumber_instance_exec'
/Users/jfire/.rvm/gems/jruby-1.5.1/gems/cucumber-0.8.4/bin/../lib/cucumber/rb_support/rb_hook.rb:14:in `invoke'
/Users/jfire/.rvm/gems/jruby-1.5.1/gems/cucumber-0.8.4/bin/../lib/cucumber/language_support/language_methods.rb:118:in `invoke'
/Users/jfire/.rvm/gems/jruby-1.5.1/gems/cucumber-0.8.4/bin/../lib/cucumber/language_support/language_methods.rb:97:in `execute_around'
/Users/jfire/.rvm/gems/jruby-1.5.1/gems/cucumber-0.8.4/bin/../lib/cucumber/language_support/language_methods.rb:95:in `call'
/Users/jfire/.rvm/gems/jruby-1.5.1/gems/cucumber-0.8.4/bin/../lib/cucumber/language_support/language_methods.rb:95:in `execute_around'
/Users/jfire/.rvm/gems/jruby-1.5.1/gems/cucumber-0.8.4/bin/../lib/cucumber/language_support/language_methods.rb:12:in `around'
/Users/jfire/.rvm/gems/jruby-1.5.1/gems/cucumber-0.8.4/bin/../lib/cucumber/step_mother.rb:336:in `around'
/Users/jfire/.rvm/gems/jruby-1.5.1/gems/cucumber-0.8.4/bin/../lib/cucumber/step_mother.rb:334:in `call'
/Users/jfire/.rvm/gems/jruby-1.5.1/gems/cucumber-0.8.4/bin/../lib/cucumber/step_mother.rb:334:in `around'
/Users/jfire/.rvm/gems/jruby-1.5.1/gems/cucumber-0.8.4/bin/../lib/cucumber/step_mother.rb:325:in `with_hooks'
/Users/jfire/.rvm/gems/jruby-1.5.1/gems/cucumber-0.8.4/bin/../lib/cucumber/ast/scenario.rb:51:in `accept'
/Users/jfire/.rvm/gems/jruby-1.5.1/gems/cucumber-0.8.4/bin/../lib/cucumber/ast/scenario.rb:106:in `with_visitor'
/Users/jfire/.rvm/gems/jruby-1.5.1/gems/cucumber-0.8.4/bin/../lib/cucumber/ast/scenario.rb:45:in `accept'
/Users/jfire/.rvm/gems/jruby-1.5.1/gems/cucumber-0.8.4/bin/../lib/cucumber/ast/tree_walker.rb:51:in `visit_feature_element'
/Users/jfire/.rvm/gems/jruby-1.5.1/gems/cucumber-0.8.4/bin/../lib/cucumber/ast/tree_walker.rb:164:in `broadcast'
/Users/jfire/.rvm/gems/jruby-1.5.1/gems/cucumber-0.8.4/bin/../lib/cucumber/ast/tree_walker.rb:50:in `visit_feature_element'
/Users/jfire/.rvm/gems/jruby-1.5.1/gems/cucumber-0.8.4/bin/../lib/cucumber/ast/feature.rb:35:in `accept'
/Users/jfire/.rvm/gems/jruby-1.5.1/gems/cucumber-0.8.4/bin/../lib/cucumber/ast/feature.rb:34:in `each'
/Users/jfire/.rvm/gems/jruby-1.5.1/gems/cucumber-0.8.4/bin/../lib/cucumber/ast/feature.rb:34:in `accept'
/Users/jfire/.rvm/gems/jruby-1.5.1/gems/cucumber-0.8.4/bin/../lib/cucumber/ast/tree_walker.rb:20:in `visit_feature'
/Users/jfire/.rvm/gems/jruby-1.5.1/gems/cucumber-0.8.4/bin/../lib/cucumber/ast/tree_walker.rb:164:in `broadcast'
/Users/jfire/.rvm/gems/jruby-1.5.1/gems/cucumber-0.8.4/bin/../lib/cucumber/ast/tree_walker.rb:19:in `visit_feature'
/Users/jfire/.rvm/gems/jruby-1.5.1/gems/cucumber-0.8.4/bin/../lib/cucumber/ast/features.rb:29:in `accept'
/Users/jfire/.rvm/gems/jruby-1.5.1/gems/cucumber-0.8.4/bin/../lib/cucumber/ast/features.rb:17:in `each'
/Users/jfire/.rvm/gems/jruby-1.5.1/gems/cucumber-0.8.4/bin/../lib/cucumber/ast/features.rb:17:in `each'
/Users/jfire/.rvm/gems/jruby-1.5.1/gems/cucumber-0.8.4/bin/../lib/cucumber/ast/features.rb:28:in `accept'
/Users/jfire/.rvm/gems/jruby-1.5.1/gems/cucumber-0.8.4/bin/../lib/cucumber/ast/tree_walker.rb:14:in `visit_features'
/Users/jfire/.rvm/gems/jruby-1.5.1/gems/cucumber-0.8.4/bin/../lib/cucumber/ast/tree_walker.rb:164:in `broadcast'
/Users/jfire/.rvm/gems/jruby-1.5.1/gems/cucumber-0.8.4/bin/../lib/cucumber/ast/tree_walker.rb:13:in `visit_features'
/Users/jfire/.rvm/gems/jruby-1.5.1/gems/cucumber-0.8.4/bin/../lib/cucumber/cli/main.rb:61:in `execute!'
/Users/jfire/.rvm/gems/jruby-1.5.1/gems/cucumber-0.8.4/bin/../lib/cucumber/cli/main.rb:25:in `execute'
/Users/jfire/.rvm/gems/jruby-1.5.1/gems/cucumber-0.8.4/bin/cucumber:8
/Users/jfire/.rvm/gems/jruby-1.5.1/gems/cucumber-0.8.4/bin/cucumber:19:in `load'
/Users/jfire/.rvm/gems/jruby-1.5.1/bin/cucumber:19
features/invoke_steps.feature:3:in `When I invoke steps'
Failing Scenarios:
cucumber features/invoke_steps.feature:2 # Scenario: Invoking steps
1 scenario (1 failed)
1 step (1 failed)
0m0.023s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment