简体   繁体   中英

How to execute all the feature files in Specflow from command prompt? And how to execute multiple feature files(i.e. 2 feature files )?

Currently I am following the below syntax to run a single feature file from command prompt and its working fine

C:\Users\xxxx\Desktop\xxxxx\packages\NUnit.ConsoleRunner.3.10.0\tools\nunit3-console.exe 

"C:\Users\xxxxx\Desktop\xxxx\UnitTestProject3\bin\Debug\TestAutomationV1.dll" --where "Description=='Reports' and cat==regression"

您必须为要运行的两个(所有)功能文件提供一个公共标记,并从命令的 where 子句中删除“描述”属性。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM