0

機能名のフィルターを使用して Specrun を実行する方法

Default.srprofile のフラグメント:

<TestAssemblyPaths>
       <TestAssemblyPath>smth.dll</TestAssemblyPath>
</TestAssemblyPaths>
<Filter></Filter>
<DeploymentTransformation>

コマンド: SpecRun.exe run 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     |

https://github.com/mikeborozdin/BDD-with-SpecFlow-and-White/blob/master/packages/SpecRun.0.13.0.72/docs/Filtering/03_TestPathFiltering.feature

4

0 に答える 0