features/cucumber_cli_outlines.feature in cucumber-0.3.0 vs features/cucumber_cli_outlines.feature in cucumber-0.3.1
- old
+ new
@@ -1,8 +1,40 @@
Feature: Cucumber command line
In order to write better software
Developers should be able to execute requirements as tests
+ Scenario: Run scenario outline with filtering on outline name
+ When I run cucumber -q features --name "Test state"
+ Then it should fail with
+ """
+ Feature: Outline Sample
+
+ Scenario Outline: Test state
+ Given <state> without a table
+ Given <other_state> without a table
+
+ Examples: Rainbow colours
+ | state | other_state |
+ | missing | passing |
+ | passing | passing |
+ | failing | passing |
+ FAIL (RuntimeError)
+ ./features/step_definitions/sample_steps.rb:2:in `flunker'
+ ./features/step_definitions/sample_steps.rb:16:in `/^failing without a table$/'
+ features/outline_sample.feature:6:in `Given <state> without a table'
+
+ Examples: Only passing
+ | state | other_state |
+ | passing | passing |
+
+ 4 scenarios
+ 1 failed step
+ 2 skipped steps
+ 1 undefined step
+ 4 passed steps
+
+ """
+
Scenario: Run scenario outline steps only
When I run cucumber -q features/outline_sample.feature:7
Then it should fail with
"""
Feature: Outline Sample