123456789101112131415161718192021222324252627282930 |
- feature:
- title: Addition
- language: en
- line: 2
- description: |-
- In order to avoid silly mistakes
- As a math idiot
- I want to be told the sum of two numbers
- scenarios:
- -
- type: scenario
- title: Add two numbers
- line: 7
- steps:
- - { keyword_type: 'Given', type: 'Given', text: 'I have entered 11 into the calculator', line: 8 }
- - { keyword_type: 'Given', type: 'And', text: 'I have entered 12 into the calculator', line: 9 }
- - { keyword_type: 'When', type: 'When', text: 'I press add', line: 10 }
- - { keyword_type: 'Then', type: 'Then', text: 'the result should be 23 on the screen', line: 11 }
- -
- type: scenario
- title: Div two numbers
- line: 13
- steps:
- - { keyword_type: 'Given', type: 'Given', text: 'I have entered 10 into the calculator', line: 14 }
- - { keyword_type: 'Given', type: 'And', text: 'I have entered 2 into the calculator', line: 15 }
- - { keyword_type: 'When', type: 'When', text: 'I press div', line: 16 }
- - { keyword_type: 'Then', type: 'Then', text: 'the result should be 5 on the screen', line: 17 }
|