1

我可以用多个示例加入多个场景大纲吗

Something Like this:

Scenario Outline: Valid Scenario
Given i have written <test>
When i execute <code>
Then i <expect> 

Given the test <result>
Then validate the <response>
Then i then validate <query>

*Examples: 
|test| | code | |expect |
|1   | |SOPLN | |"input"|

Examples: 
|result| | response| |query| 
|pass  | |200      | |select* from table1|*

我可以用双管代替单管吗|测试| | 代码 | |期待 | 而不是|测试| 代码 |期望 |

4

0 回答 0