【发布时间】:2016-08-11 10:05:29
【问题描述】:
我正在编写一个具有多个输入和输出参数(每个大约 4-5 个)的 specflow 场景。使用场景大纲时,我需要编写一个宽表,在同一行中提供输入和输出列。有什么方法可以为步骤定义单独指定示例?这是为了提高可读性。
当前状态
Given - State of the data
When I trigger action with parameters <input1> and <input2> and ...
Then my output should contain <output1> and <output2> ...
Examples:
| input1 | input2 |... | output1 | output2 |...
我可以这样做吗?
Given - State of the data
When I trigger action with parameters <input1> and <input2> and ...
Examples of input
Then my output should contain <output1> and <output2> ...
Examples of output
【问题讨论】: