1
這是可能的:是否可以在大綱示例中使用表格數據?
Scenario Outline: Add two numbers
Given I have entered <num1> and <num2> into the calculator
When I press add
Then the result should be <result> on the screen
Examples:
| num1 | num2 | result |
| 50 | 70 | 120 |
| 10 | 20 | 30 |
我的問題是:
是否有可能使用一個表到空心例子?像以下情況:
Scenario Outline: Add two numbers
Given I have entered <num1> and <num2> into the calculator
When I press add
Then the result should be <result> on the screen
| a | b | c |
| 50 | 70 | 120 |
| 10 | 20 | 30 |
Examples:
| num1 | num2 | result |
| a | b | c |