【发布时间】:2022-07-08 20:17:14
【问题描述】:
我有以下示例:
Scenario Outline: Example
Given I am a user
When I enter <x> as an amount
Then the result should be <result>
Examples:
| example description | x | result |
| Example Description 1 | 3 | 3 |
| Example Description 2 | 1 | 1 |
它提供如下名称:
我无法关联测试用例,因为测试场景的名称很长。
有没有办法获得类似或相似的名字:
Example_ExampleDescription1
Example_ExampleDescription2
我从以下位置挑选样本:Updating the name of SpecFlow scenario outline variations
【问题讨论】: