t/harness_json/mock.feature
raw| 1 | Feature: My mock feature |
| 2 | |
| 3 | Scenario: mock failing test |
| 4 | Given that we have list of items="<items>" |
| 5 | When calculate count |
| 6 | Then number of items is "<count>" |
| 7 | Examples: |
| 8 | | items | count | |
| 9 | | 2,-1,4,55 | 1 | |
| 10 | | 0,-22,33 | 3 | |
| 11 | |
| 12 | Scenario: mock pending test |
| 13 | Given that we receive list of items from server |
| 14 | When calculate count |
| 15 | Then summary is "55" |
| 16 | |
| 17 | Scenario: mock missing step definition |
| 18 | Given that this step is missing |
| 19 | When calculate count |
| 20 | Then summary is "55" |