问题
But we use group of scenarios as 1 Test Case, so the one scenario is a one step in a test and therefore we need to define parameters for group of scenarios.
In case of Scenario outline and several scenarios only scenario with Outline performs with different parameters:
Scenario Outline: scenario A
When bla
Then bla bla
Examples:
| Param |
| 1 |
| 2 |
Scenario: Scenario B
When param 'Param'
Then do 'Param'
In this case Scenario A will be executed 2 times then it goes to Scenario B. But I need to perform: Scenario A, Scenario B with Param=1, then Scenario A, Scenario B with Param 2
来源:https://stackoverflow.com/questions/59883996/yes-i-know-about-scenario-outline