Feature: run outline In order to test application behavior As a test suite I need to be able to run outline scenarios Scenario: should run a normal outline Given a feature "normal.feature" file: """ Feature: outline Background: Given passing step Scenario Outline: parse a scenario Given a feature path "" When I parse features Then I should have scenario registered Examples: | path | num | | features/load.feature:6 | 1 | | features/load.feature:3 | 0 | """ When I run feature suite Then the suite should have passed And the following steps should be passed: """ a passing step I parse features a feature path "features/load.feature:6" a feature path "features/load.feature:3" I should have 1 scenario registered I should have 0 scenario registered """ Scenario: should continue through examples on failure Given a feature "normal.feature" file: """ Feature: outline Background: Given passing step Scenario Outline: parse a scenario Given a feature path "" When I parse features Then I should have scenario registered Examples: | path | num | | features/load.feature:6 | 5 | | features/load.feature:3 | 0 | """ When I run feature suite Then the suite should have failed And the following steps should be passed: """ a passing step I parse features a feature path "features/load.feature:6" a feature path "features/load.feature:3" I should have 0 scenario registered """ And the following steps should be failed: """ I should have 5 scenario registered """ Scenario: should skip examples on background failure Given a feature "normal.feature" file: """ Feature: outline Background: Given a failing step Scenario Outline: parse a scenario Given a feature path "" When I parse features Then I should have scenario registered Examples: | path | num | | features/load.feature:6 | 1 | | features/load.feature:3 | 0 | """ When I run feature suite Then the suite should have failed And the following steps should be skipped: """ I parse features a feature path "features/load.feature:6" a feature path "features/load.feature:3" I should have 0 scenario registered I should have 1 scenario registered """ And the following steps should be failed: """ a failing step """