Feature: Every construct
A description of the feature,
over two lines.
- Given a customer named "Ana"
A description of the scenario.
- Given a customer named "Ana"
From the scenario
- Given an order with these lines:
item price pen 1.50 a | b 2 - When the order is placed
- Then a receipt is sent
- And no error is shown
- But nothing is charged twice
- * the order is saved
- Given a customer named "Ana"
From the scenario
- Given <count> items
- Then the total is <total>
Runs once for each row of these examples:
-
count total 1 2 - Given 1 items
- Then the total is 2
-
count total 9 90 - Given 9 items
- Then the total is 90
The rule's description.
- Given the rule applies
Note: in the Gherkin feature file, this scenario is
- Given a customer named "Ana"
- Given the rule applies
From the scenario
- Given a step with a doc string
Some text.