Created
April 29, 2010 15:56
-
-
Save chris/383815 to your computer and use it in GitHub Desktop.
Cucumber 0.7.0 prerelease problem
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
| # Cucumber 0.7.0 prerelease issue, contact chris at cobaltedge dot com | |
| # The following error was due to having a feature file that was entirely commented out, with except to the tag, | |
| # so the feature file looked like: | |
| # @hotels | |
| # # Feature: | |
| # # ... | |
| # This problem was fixed simply by also commenting out the tag :) | |
| Using the default profile... | |
| Parse error on line 2. Found comment when expecting one of: examples, feature, scenario, scenario_outline, tag. (Current state: tag). (Gherkin::Parser::ParseError) | |
| /Library/Ruby/Gems/1.8/gems/gherkin-1.0.22/lib/gherkin/parser/parser.rb:37:in `event' | |
| /Library/Ruby/Gems/1.8/gems/gherkin-1.0.22/lib/gherkin/parser/parser.rb:80:in `event' | |
| /Library/Ruby/Gems/1.8/gems/gherkin-1.0.22/lib/gherkin/parser/parser.rb:35:in `event' | |
| /Library/Ruby/Gems/1.8/gems/gherkin-1.0.22/lib/gherkin/parser/parser.rb:25:in `method_missing' | |
| /Library/Ruby/Gems/1.8/gems/gherkin-1.0.22/lib/gherkin/i18n_lexer.rb:21:in `scan' | |
| /Library/Ruby/Gems/1.8/gems/gherkin-1.0.22/lib/gherkin/i18n_lexer.rb:21:in `scan' | |
| /Library/Ruby/Gems/1.8/gems/cucumber-0.7.0.beta.7/bin/../lib/cucumber/feature_file.rb:35:in `parse' | |
| /Library/Ruby/Gems/1.8/gems/cucumber-0.7.0.beta.7/bin/../lib/cucumber/step_mother.rb:62:in `load_plain_text_features' | |
| /Library/Ruby/Gems/1.8/gems/cucumber-0.7.0.beta.7/bin/../lib/cucumber/step_mother.rb:60:in `each' | |
| /Library/Ruby/Gems/1.8/gems/cucumber-0.7.0.beta.7/bin/../lib/cucumber/step_mother.rb:60:in `load_plain_text_features' | |
| /Library/Ruby/Gems/1.8/gems/cucumber-0.7.0.beta.7/bin/../lib/cucumber/cli/main.rb:55:in `execute!' | |
| /Library/Ruby/Gems/1.8/gems/cucumber-0.7.0.beta.7/bin/../lib/cucumber/cli/main.rb:25:in `execute' | |
| /Library/Ruby/Gems/1.8/gems/cucumber-0.7.0.beta.7/bin/cucumber:8 | |
| /usr/bin/cucumber:19:in `load' | |
| /usr/bin/cucumber:19 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes. Please consult the upgrading instructions for 0.7.0 in the wiki or History.txt.