Created
July 13, 2010 00:25
-
-
Save jfirebaugh/473277 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
undefined method `add_examples' for #<Cucumber::Ast::Scenario:0x8a6465> (NoMethodError) | |
C:/Documents and Settings/hudson/.bundle/jruby/1.8/gems/cucumber-0.8.4/bin/../lib/cucumber/parser/gherkin_builder.rb:82:in `examples' | |
C:/Documents and Settings/hudson/.bundle/jruby/1.8/gems/gherkin-2.1.1-java/lib/gherkin/formatter/filter_formatter.rb:143:in `replay_events!' | |
C:/Documents and Settings/hudson/.bundle/jruby/1.8/gems/gherkin-2.1.1-java/lib/gherkin/formatter/filter_formatter.rb:142:in `each' | |
C:/Documents and Settings/hudson/.bundle/jruby/1.8/gems/gherkin-2.1.1-java/lib/gherkin/formatter/filter_formatter.rb:142:in `replay_events!' | |
C:/Documents and Settings/hudson/.bundle/jruby/1.8/gems/gherkin-2.1.1-java/lib/gherkin/formatter/filter_formatter.rb:131:in `replay!' | |
C:/Documents and Settings/hudson/.bundle/jruby/1.8/gems/gherkin-2.1.1-java/lib/gherkin/formatter/filter_formatter.rb:40:in `scenario' | |
C:/Documents and Settings/hudson/.bundle/jruby/1.8/gems/gherkin-2.1.1-java/lib/gherkin/formatter/tag_count_formatter.rb:17:in `scenario' | |
C:/Documents and Settings/hudson/.bundle/jruby/1.8/gems/cucumber-0.8.4/bin/../lib/cucumber/feature_file.rb:36:in `parse' | |
C:/Documents and Settings/hudson/.bundle/jruby/1.8/gems/cucumber-0.8.4/bin/../lib/cucumber/step_mother.rb:69:in `load_plain_text_features' | |
C:/Documents and Settings/hudson/.bundle/jruby/1.8/gems/cucumber-0.8.4/bin/../lib/cucumber/step_mother.rb:67:in `each' | |
C:/Documents and Settings/hudson/.bundle/jruby/1.8/gems/cucumber-0.8.4/bin/../lib/cucumber/step_mother.rb:67:in `load_plain_text_features' | |
C:/Documents and Settings/hudson/.bundle/jruby/1.8/gems/cucumber-0.8.4/bin/../lib/cucumber/cli/main.rb:55:in `execute!' | |
C:/Documents and Settings/hudson/.bundle/jruby/1.8/gems/cucumber-0.8.4/bin/../lib/cucumber/cli/main.rb:25:in `execute' | |
C:/Documents and Settings/hudson/.bundle/jruby/1.8/gems/cucumber-0.8.4/bin/cucumber:8 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Feature: | |
@wip | |
Scenario Outline: | |
When blah | |
Examples: | |
| a | | |
| b | | |
| c | | |
Scenario: | |
When blah |
- an existing project broke for me with this same error, after I upgraded my gems today.
- uninstalled gherkin 2.1.2, cucumber 0.8.4
- autospec works just fine again (no changes to steps or features)
- if it helps, I am using features, background, outlines, text blocks, almost everything cucumber provides
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
That's no good! Probably due to some of the new internals of gherkin. Can you share the feature and command line options you used?