如何使用功能名称过滤器运行 Specrun
Default.srprofile 的片段:
<TestAssemblyPaths>
<TestAssemblyPath>smth.dll</TestAssemblyPath>
</TestAssemblyPaths>
<Filter></Filter>
<DeploymentTransformation>
Cmd: SpecRun.exe 运行 Default.srprofile /filter:"features:Feature:FeatureName"
这里来自 github 的示例:
Scenario: Should be able to filter for feature
Given the filter is configured to 'testpath:Feature:Feature_1'
When I execute the tests
Then the execution summary should contain
| Total |
| 3 |