features/background.feature in aslakhellesoy-cucumber-0.1.99.23 vs features/background.feature in aslakhellesoy-cucumber-0.1.100.1
- old
+ new
@@ -14,11 +14,11 @@
Scenario: another passing background
Then I should have '10' cukes
1 scenario
- 2 passed steps
+ 3 passed steps
"""
Scenario: run a feature with a background that passes
When I run cucumber -q features/background/passing_background.feature --require features
@@ -62,11 +62,11 @@
Examples:
| count |
| 10 |
2 scenarios
- 4 passed steps
+ 5 passed steps
"""
Scenario: run a feature with a background that fails
When I run cucumber -q features/background/failing_background.feature --require features
@@ -78,20 +78,21 @@
Given failing without a table
FAIL (RuntimeError)
./features/step_definitions/sample_steps.rb:2:in `flunker'
./features/step_definitions/sample_steps.rb:16:in `/^failing without a table$/'
features/background/failing_background.feature:4:in `Given failing without a table'
+ And '10' cukes
Scenario: failing background
Then I should have '10' cukes
Scenario: another failing background
Then I should have '10' cukes
2 scenarios
- 2 failed steps
- 2 skipped steps
+ 1 failed step
+ 5 skipped steps
"""
Scenario: run a feature with scenario outlines that has a background that fails
When I run cucumber -q features/background/scenario_outline_failing_background.feature --require features
@@ -119,12 +120,12 @@
Examples:
| count |
| 10 |
2 scenarios
- 2 failed steps
- 2 skipped steps
+ 1 failed step
+ 4 skipped steps
"""
Scenario: run a feature with a background that is pending
When I run cucumber -q features/background/pending_background.feature --require features
@@ -158,18 +159,15 @@
And '10' global cukes
Scenario: passing background
Then I should have '10' global cukes
- Background:
- Given passing without a table
+ Scenario: failing background
And '10' global cukes
FAIL (RuntimeError)
./features/step_definitions/sample_steps.rb:2:in `flunker'
./features/step_definitions/sample_steps.rb:37:in `/^'(.+)' global cukes$/'
- features/background/failing_background_after_success.feature:3:in `And '10' global cukes'
-
- Scenario: failing background
+ features/background/failing_background_after_success.feature:5:in `And '10' global cukes'
Then I should have '10' global cukes
2 scenarios
1 failed step
1 skipped step