can perform basic operations Scenario: Subtraction Given I have two numbers When I subtract them undefined method `subtract' for #<Object: 0x00007fd094cb5018> (NoMethodError) calc.rb:7:in `/^I\ subtract\ them$/' calc.feature:8:in `When I subtract them' Then I want the difference Failing Scenarios: cucumber calc.feature:6 # Scenario: Subtraction 1 scenario (1 failed) 3 steps (1 failed, 1 skipped, 1 passed) 0m0.021s
can perform basic operations Scenario: Subtraction Given I have two numbers When I subtract them wrong number of arguments (given 2, expected 0) (ArgumentError) calc.rb:1:in `subtract' calc.rb:10:in `/^I\ subtract\ them$/' calc.feature:8:in `When I subtract them' Then I want the difference Failing Scenarios: cucumber calc.feature:6 # Scenario: Subtraction 1 scenario (1 failed) 3 steps (1 failed, 1 skipped, 1 passed) 0m0.021s
can perform basic operations Scenario: Subtraction Given I have two numbers When I subtract them SolidAssert::AssertionFailedError (SolidAssert::AssertionFailedError) calc.rb:14:in `/^I\ want\ the\ difference$/' calc.feature:9:in `Then I want the difference' Then I want the difference Failing Scenarios: cucumber calc.feature:6 # Scenario: Subtraction 1 scenario (1 failed) 3 steps (1 failed, 1 skipped, 1 passed) 0m0.021s
can perform basic operations Scenario: Subtraction Given I have two numbers When I subtract them Then I want the difference 1 scenario (1 passed) 3 steps (3 passed) 0m0.019s