Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash on failing scenario outline #69

Open
bjoernalbers opened this issue Apr 14, 2011 · 0 comments
Open

Crash on failing scenario outline #69

bjoernalbers opened this issue Apr 14, 2011 · 0 comments

Comments

@bjoernalbers
Copy link
Contributor

I tested with the latest version (cucumber-nagios v0.9.0)...

Example feature to reproduce the error:

Feature: Google
It should be up

Scenario Outline: This failing scenario crashes cucumber-nagios
When I go to "http:///"
Then the request should succeed

    Examples:
     | host           |
     | www.google.foo |
     | www.google.bar |

Command-Output:

$ cucumber-nagios features/search.feature
undefined method file_colon_line' for true:TrueClass (NoMethodError) /Library/Ruby/Gems/1.8/gems/cucumber-nagios-0.9.0/lib/cucumber/formatter/nagios.rb:53:inprint_summary'
/Library/Ruby/Gems/1.8/gems/cucumber-nagios-0.9.0/lib/cucumber/formatter/nagios.rb:52:in each' /Library/Ruby/Gems/1.8/gems/cucumber-nagios-0.9.0/lib/cucumber/formatter/nagios.rb:52:inprint_summary'
/Library/Ruby/Gems/1.8/gems/cucumber-nagios-0.9.0/lib/cucumber/formatter/nagios.rb:32:in after_features' /Library/Ruby/Gems/1.8/gems/cucumber-0.10.2/bin/../lib/cucumber/ast/tree_walker.rb:174:insend'
/Library/Ruby/Gems/1.8/gems/cucumber-0.10.2/bin/../lib/cucumber/ast/tree_walker.rb:174:in send_to_all' /Library/Ruby/Gems/1.8/gems/cucumber-0.10.2/bin/../lib/cucumber/ast/tree_walker.rb:172:ineach'
/Library/Ruby/Gems/1.8/gems/cucumber-0.10.2/bin/../lib/cucumber/ast/tree_walker.rb:172:in send_to_all' /Library/Ruby/Gems/1.8/gems/cucumber-0.10.2/bin/../lib/cucumber/ast/tree_walker.rb:165:inbroadcast'
/Library/Ruby/Gems/1.8/gems/cucumber-0.10.2/bin/../lib/cucumber/ast/tree_walker.rb:13:in visit_features' /Library/Ruby/Gems/1.8/gems/cucumber-0.10.2/bin/../lib/cucumber/runtime.rb:45:inrun!'
/Library/Ruby/Gems/1.8/gems/cucumber-0.10.2/bin/../lib/cucumber/cli/main.rb:43:in execute!' /Library/Ruby/Gems/1.8/gems/cucumber-0.10.2/bin/../lib/cucumber/cli/main.rb:20:inexecute'
/Library/Ruby/Gems/1.8/gems/cucumber-0.10.2/bin/cucumber:14
/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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant