|
Server : Apache/2.4.62 System : FreeBSD fbsdweb2.web.rcn.net 14.1-RELEASE FreeBSD 14.1-RELEASE releng/14.1-n267679-10e31f0946d8 GENERIC amd64 User : www ( 80) PHP Version : 8.3.8 Disable Function : NONE Directory : /domains/irtiweb/CATS/vendor/behat/gherkin/tests/Behat/Gherkin/Fixtures/etalons/ |
Upload File : |
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 }