/
scenario&outline.feature
35 lines (28 loc) · 1.14 KB
/
scenario&outline.feature
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
@both
Feature: Scenario And Scenario Outline
Background:
Given Hello background
@scenout
Scenario Outline: SO Row <row_num>
SO Row Description
Given Write a 'given' step with precondition in '<scenario_num><row_num>'
When Complete action in 'when' step in '<scenario_num><row_num>'
Then Validate the outcome in 'then' step in '<scenario_num><row_num>'
Examples: Odd number prefix
| scenario_num | row_num |
| Scenario Outline One | 300 |
| Scenario Outline Two | 500 |
Examples: Even number prefix
| scenario_num | row_num |
| Scenario Outline One | 400 |
| Scenario Outline Two | 600 |
@scen
Scenario: Scenario Number Seven Seven Seven
Given Write a 'given' step with precondition in 'Scenario 777'
When Complete action in 'when' step in 'Scenario 777'
Then Validate the outcome in 'then' step in 'Scenario 777'
@misc
Scenario: Scenario Other Symbols
* Write a 'given' step with precondition in 'Scenario 777'
And Complete action in 'when' step in 'Scenario 777'
But Validate the outcome in 'then' step in 'Scenario 777'