features/background.feature in aslakhellesoy-cucumber-0.3.1 vs features/background.feature in aslakhellesoy-cucumber-0.3.1.1

- old
+ new

@@ -13,12 +13,12 @@ Given '10' cukes Scenario: another passing background Then I should have '10' cukes - 1 scenario - 2 passed steps + 1 scenario (1 passed) + 2 steps (2 passed) """ Scenario: run a feature with a background that passes When I run cucumber -q features/background/passing_background.feature --require features @@ -33,12 +33,12 @@ Then I should have '10' cukes Scenario: another passing background Then I should have '10' cukes - 2 scenarios - 4 passed steps + 2 scenarios (2 passed) + 4 steps (4 passed) """ Scenario: run a feature with scenario outlines that has a background that passes When I run cucumber -q features/background/scenario_outline_passing_background.feature --require features @@ -50,23 +50,23 @@ Given '10' cukes Scenario Outline: passing background Then I should have '<count>' cukes - Examples: - | count | - | 10 | + Examples: + | count | + | 10 | Scenario Outline: another passing background Then I should have '<count>' cukes - Examples: - | count | - | 10 | + Examples: + | count | + | 10 | - 2 scenarios - 4 passed steps + 2 scenarios (2 passed) + 4 steps (4 passed) """ Scenario: run a feature with a background that fails When I run cucumber -q features/background/failing_background.feature --require features @@ -87,13 +87,12 @@ Then I should have '10' cukes Scenario: another failing background Then I should have '10' cukes - 2 scenarios - 1 failed step - 5 skipped steps + 2 scenarios (1 failed, 1 skipped) + 6 steps (1 failed, 5 skipped) """ And "examples/self_test/tmp/after.txt" should exist Scenario: run a feature with scenario outlines that has a background that fails @@ -110,24 +109,23 @@ features/background/scenario_outline_failing_background.feature:4:in `Given failing without a table' Scenario Outline: failing background Then I should have '<count>' cukes - Examples: - | count | - | 10 | + Examples: + | count | + | 10 | Scenario Outline: another failing background Then I should have '<count>' cukes - Examples: - | count | - | 10 | + Examples: + | count | + | 10 | - 2 scenarios - 1 failed step - 3 skipped steps + 2 scenarios (1 failed, 1 skipped) + 4 steps (1 failed, 3 skipped) """ Scenario: run a feature with a background that is pending When I run cucumber -q features/background/pending_background.feature --require features @@ -142,13 +140,12 @@ Then I should have '10' cukes Scenario: another pending background Then I should have '10' cukes - 2 scenarios - 2 skipped steps - 2 undefined steps + 2 scenarios (2 undefined) + 4 steps (2 skipped, 2 undefined) """ Scenario: background passes with first scenario but fails with second When I run cucumber -q features/background/failing_background_after_success.feature --require features @@ -169,14 +166,12 @@ ./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:5:in `And '10' global cukes' Then I should have '10' global cukes - 2 scenarios - 1 failed step - 1 skipped step - 4 passed steps + 2 scenarios (1 failed, 1 passed) + 6 steps (1 failed, 1 skipped, 4 passed) """ Scenario: background with multline args When I run cucumber -q features/background/multiline_args_background.feature --require features @@ -212,12 +207,12 @@ \"\"\" I'm a cucumber and I'm okay. I sleep all night and I test all day \"\"\" - 2 scenarios - 8 passed steps + 2 scenarios (2 passed) + 8 steps (8 passed) """ Scenario: background with name When I run cucumber -q features/background/background_with_name.feature --require features @@ -229,11 +224,11 @@ Given '10' cukes Scenario: example Then I should have '10' cukes - 1 scenario - 2 passed steps + 1 scenario (1 passed) + 2 steps (2 passed) """ @josephwilk Scenario: run a scenario showing explicit background steps --explicit-background