Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/334.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# 如何从命令提示符执行Specflow中的所有功能文件?以及如何执行多个功能文件(即2个功能文件)?_C#_Nunit_Specflow - Fatal编程技术网

C# 如何从命令提示符执行Specflow中的所有功能文件?以及如何执行多个功能文件(即2个功能文件)?

C# 如何从命令提示符执行Specflow中的所有功能文件?以及如何执行多个功能文件(即2个功能文件)?,c#,nunit,specflow,C#,Nunit,Specflow,目前,我遵循以下语法从命令提示符运行单个功能文件,其工作正常 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==regressio

目前,我遵循以下语法从命令提示符运行单个功能文件,其工作正常

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子句中删除“Description”属性。

提供了有关这方面的详细信息。使用“C:\Users\xxxxx\Desktop\xxxx\UnitTestProject3\bin\Debug\TestAutomationV1.dll”——其中的“cat==regression”是否有效