[More Detail] [Collapse All]
Feature: Displaying Scenario Outlines
As a reader of the documentation I expect that scenario outlines are documented correctly
example/scenario_outline.feature
- Scenario Outline: Three Examples
link
example/scenario_outline.feature:6
Given that <Customer> is a valid customer
And that the product, named '<Product>', is a valid product
When the customer has purchased the product
Then I expect the customer to be a member of the '<Product>' group
Examples

Customer Product
Customer A Product A
Customer A Product B
Customer A Product C
- Scenario Outline: Step contains a text block
link
example/scenario_outline.feature:19
Given the following text:
The <noun> jumped over the <place>
When I click on an example row
Then I expect <noun> to be replaced by the example noun
And I expect <place> to be replaced by the example place
Examples

noun place
cow moon
horse spoon
- Scenario Outline: Step contains a table
link
example/scenario_outline.feature:34
Given the following table:
name price quantity
<name> <price> 100000
When I click on an example row
Then I expect <name> to be replaced by the example name
And I expect <price> to be replaced by the example price
Examples

name price
toy $99
game $49
- Scenario Outline: Step contains a table; table header uses an example
link
example/scenario_outline.feature:48
Given the following table:
name <denomination> quantity
<name> <price> 100000
When I click on an example row
Then I expect <name> to be replaced by the example name
And I expect <price> to be replaced by the example price
And I expect <denomination> to be replaced by the example denomination
Examples

name price denomination
toy 99 cost in euros
game 49 cost in dollars
- Scenario Outline: Example Table Missing
link
# This is an example of a scenario outline in development.
# The example table has not been defined yet
example/scenario_outline.feature:64
When I click on an example row
Then I expect <name> to be replaced by the example name
And I expect <price> to be replaced by the example price
And I expect <denomination> to be replaced by the example denomination
No Example Table Defined
[!] Did you mean to create a Scenario?
- Scenario Outline: Empty Example Table
link
# This is an example of a scenario outline in development.  
# The examples table has been defined, but is missing data.
example/scenario_outline.feature:73
When I click on an example row
Then I expect <name> to be replaced by the example name
And I expect <price> to be replaced by the example price
And I expect <denomination> to be replaced by the example denomination
Examples

name price denomination
No Examples Defined
- Scenario Outline: Multiple Example Table
link
example/scenario_outline.feature:82
Given that <Customer> is a valid customer
And that the product, named '<Product>', is a valid product
When the customer has purchased the product
Then I expect the customer to be a member of the '<Product>' group
Examples:
Example group A

Customer Product
Customer A Product A
Examples:
Example group B

Customer Product
Customer B Product A