Skip to content

Instantly share code, notes, and snippets.

@bsatrom
Created March 5, 2010 16:18
Show Gist options
  • Save bsatrom/322868 to your computer and use it in GitHub Desktop.
Save bsatrom/322868 to your computer and use it in GitHub Desktop.
D:\Development\Cuke4Nuke\examples\Calc\CalcFeatures>Cuke4Nuke D:\Development\Cuke4Nuke\examples\Calc\Calc\bin\Debug\Calc.dll -c | F:\Downloads\Wac.exe
# language: en
Feature: Addition
In order to avoid silly mistakes
As a math idiot
I want to be told the sum of two numbers
Scenario Outline: Add two numbers # features\addition.feature:7
Given I have entered <input_1> into the calculator # features\addition.feature:8
And I have entered <input_2> into the calculator # features\addition.feature:9
When I press <button> # features\addition.feature:10
Then the result should be <output> on the screen # features\addition.feature:11
Examples:
| input_1 | input_2 | button | output |
|undefined method `source_tag_names' for #<Cucumber::Ast::OutlineTable::ExampleRow:0x42852f0> (NoMethodError)
C:/Ruby/lib/ruby/gems/1.8/gems/cucumber-0.6.3/bin/../lib/cucumber/wire_support/wire_protocol/requests.rb:100:in `request_params'
C:/Ruby/lib/ruby/gems/1.8/gems/cucumber-0.6.3/bin/../lib/cucumber/wire_support/wire_protocol/requests.rb:109:in `execute'
C:/Ruby/lib/ruby/gems/1.8/gems/cucumber-0.6.3/bin/../lib/cucumber/wire_support/wire_protocol.rb:34:in `begin_scenario'
C:/Ruby/lib/ruby/gems/1.8/gems/cucumber-0.6.3/bin/../lib/cucumber/wire_support/wire_language.rb:50:in `begin_scenario'
C:/Ruby/lib/ruby/gems/1.8/gems/cucumber-0.6.3/bin/../lib/cucumber/wire_support/wire_language.rb:50:in `each'
C:/Ruby/lib/ruby/gems/1.8/gems/cucumber-0.6.3/bin/../lib/cucumber/wire_support/wire_language.rb:50:in `begin_scenario'
C:/Ruby/lib/ruby/gems/1.8/gems/cucumber-0.6.3/bin/../lib/cucumber/language_support/language_methods.rb:12:in `before'
C:/Ruby/lib/ruby/gems/1.8/gems/cucumber-0.6.3/bin/../lib/cucumber/step_mother.rb:325:in `before'
C:/Ruby/lib/ruby/gems/1.8/gems/cucumber-0.6.3/bin/../lib/cucumber/step_mother.rb:324:in `each'
C:/Ruby/lib/ruby/gems/1.8/gems/cucumber-0.6.3/bin/../lib/cucumber/step_mother.rb:324:in `before'
C:/Ruby/lib/ruby/gems/1.8/gems/cucumber-0.6.3/bin/../lib/cucumber/step_mother.rb:306:in `before_and_after'
C:/Ruby/lib/ruby/gems/1.8/gems/cucumber-0.6.3/bin/../lib/cucumber/ast/outline_table.rb:88:in `accept_plain'
C:/Ruby/lib/ruby/gems/1.8/gems/cucumber-0.6.3/bin/../lib/cucumber/ast/outline_table.rb:78:in `accept'
C:/Ruby/lib/ruby/gems/1.8/gems/cucumber-0.6.3/bin/../lib/cucumber/ast/tree_walker.rb:147:in `visit_table_row'
C:/Ruby/lib/ruby/gems/1.8/gems/cucumber-0.6.3/bin/../lib/cucumber/ast/tree_walker.rb:180:in `broadcast'
C:/Ruby/lib/ruby/gems/1.8/gems/cucumber-0.6.3/bin/../lib/cucumber/ast/tree_walker.rb:146:in `visit_table_row'
C:/Ruby/lib/ruby/gems/1.8/gems/cucumber-0.6.3/bin/../lib/cucumber/ast/outline_table.rb:17:in `accept'
C:/Ruby/lib/ruby/gems/1.8/gems/win32console-1.2.0-x86-mingw32/lib/Win32/Console.rb:189:in `each_with_index'
C:/Ruby/lib/ruby/gems/1.8/gems/cucumber-0.6.3/bin/../lib/cucumber/ast/outline_table.rb:13:in `each'
C:/Ruby/lib/ruby/gems/1.8/gems/cucumber-0.6.3/bin/../lib/cucumber/ast/outline_table.rb:13:in `each_with_index'
C:/Ruby/lib/ruby/gems/1.8/gems/cucumber-0.6.3/bin/../lib/cucumber/ast/outline_table.rb:13:in `accept'
C:/Ruby/lib/ruby/gems/1.8/gems/cucumber-0.6.3/bin/../lib/cucumber/ast/tree_walker.rb:99:in `visit_outline_table'
C:/Ruby/lib/ruby/gems/1.8/gems/cucumber-0.6.3/bin/../lib/cucumber/ast/tree_walker.rb:180:in `broadcast'
C:/Ruby/lib/ruby/gems/1.8/gems/cucumber-0.6.3/bin/../lib/cucumber/ast/tree_walker.rb:98:in `visit_outline_table'
C:/Ruby/lib/ruby/gems/1.8/gems/cucumber-0.6.3/bin/../lib/cucumber/ast/examples.rb:12:in `accept'
C:/Ruby/lib/ruby/gems/1.8/gems/cucumber-0.6.3/bin/../lib/cucumber/ast/tree_walker.rb:73:in `visit_examples'
C:/Ruby/lib/ruby/gems/1.8/gems/cucumber-0.6.3/bin/../lib/cucumber/ast/tree_walker.rb:180:in `broadcast'
C:/Ruby/lib/ruby/gems/1.8/gems/cucumber-0.6.3/bin/../lib/cucumber/ast/tree_walker.rb:72:in `visit_examples'
C:/Ruby/lib/ruby/gems/1.8/gems/cucumber-0.6.3/bin/../lib/cucumber/ast/scenario_outline.rb:10:in `accept'
C:/Ruby/lib/ruby/gems/1.8/gems/cucumber-0.6.3/bin/../lib/cucumber/ast/scenario_outline.rb:9:in `each'
C:/Ruby/lib/ruby/gems/1.8/gems/cucumber-0.6.3/bin/../lib/cucumber/ast/scenario_outline.rb:9:in `accept'
C:/Ruby/lib/ruby/gems/1.8/gems/cucumber-0.6.3/bin/../lib/cucumber/ast/tree_walker.rb:67:in `visit_examples_array'
C:/Ruby/lib/ruby/gems/1.8/gems/cucumber-0.6.3/bin/../lib/cucumber/ast/tree_walker.rb:180:in `broadcast'
C:/Ruby/lib/ruby/gems/1.8/gems/cucumber-0.6.3/bin/../lib/cucumber/ast/tree_walker.rb:66:in `visit_examples_array'
C:/Ruby/lib/ruby/gems/1.8/gems/cucumber-0.6.3/bin/../lib/cucumber/ast/scenario_outline.rb:49:in `accept'
C:/Ruby/lib/ruby/gems/1.8/gems/cucumber-0.6.3/bin/../lib/cucumber/ast/tree_walker.rb:51:in `visit_feature_element'
C:/Ruby/lib/ruby/gems/1.8/gems/cucumber-0.6.3/bin/../lib/cucumber/ast/tree_walker.rb:180:in `broadcast'
C:/Ruby/lib/ruby/gems/1.8/gems/cucumber-0.6.3/bin/../lib/cucumber/ast/tree_walker.rb:50:in `visit_feature_element'
C:/Ruby/lib/ruby/gems/1.8/gems/cucumber-0.6.3/bin/../lib/cucumber/ast/feature.rb:26:in `accept'
C:/Ruby/lib/ruby/gems/1.8/gems/cucumber-0.6.3/bin/../lib/cucumber/ast/feature.rb:25:in `each'
C:/Ruby/lib/ruby/gems/1.8/gems/cucumber-0.6.3/bin/../lib/cucumber/ast/feature.rb:25:in `accept'
C:/Ruby/lib/ruby/gems/1.8/gems/cucumber-0.6.3/bin/../lib/cucumber/ast/tree_walker.rb:20:in `visit_feature'
C:/Ruby/lib/ruby/gems/1.8/gems/cucumber-0.6.3/bin/../lib/cucumber/ast/tree_walker.rb:180:in `broadcast'
C:/Ruby/lib/ruby/gems/1.8/gems/cucumber-0.6.3/bin/../lib/cucumber/ast/tree_walker.rb:19:in `visit_feature'
C:/Ruby/lib/ruby/gems/1.8/gems/cucumber-0.6.3/bin/../lib/cucumber/ast/features.rb:29:in `accept'
C:/Ruby/lib/ruby/gems/1.8/gems/cucumber-0.6.3/bin/../lib/cucumber/ast/features.rb:17:in `each'
C:/Ruby/lib/ruby/gems/1.8/gems/cucumber-0.6.3/bin/../lib/cucumber/ast/features.rb:17:in `each'
C:/Ruby/lib/ruby/gems/1.8/gems/cucumber-0.6.3/bin/../lib/cucumber/ast/features.rb:28:in `accept'
C:/Ruby/lib/ruby/gems/1.8/gems/cucumber-0.6.3/bin/../lib/cucumber/ast/tree_walker.rb:14:in `visit_features'
C:/Ruby/lib/ruby/gems/1.8/gems/cucumber-0.6.3/bin/../lib/cucumber/ast/tree_walker.rb:180:in `broadcast'
C:/Ruby/lib/ruby/gems/1.8/gems/cucumber-0.6.3/bin/../lib/cucumber/ast/tree_walker.rb:13:in `visit_features'
C:/Ruby/lib/ruby/gems/1.8/gems/cucumber-0.6.3/bin/../lib/cucumber/cli/main.rb:61:in `execute!'
C:/Ruby/lib/ruby/gems/1.8/gems/cucumber-0.6.3/bin/../lib/cucumber/cli/main.rb:20:in `execute'
C:/Ruby/lib/ruby/gems/1.8/gems/cucumber-0.6.3/bin/cucumber:8C:/Ruby/bin/cucumber:19:in `load'
C:/Ruby/bin/cucumber:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment