无论如何我们可以在 Specflow 中创建类似于 TestNG 的功能文件测试套件?

Is there anyway we can create test suite of feature files in Specflow similar to TestNG?

正在尝试创建一个测试套件,但我不想在其中包含所有功能文件。那可能吗?这在 TestNG.xml 测试套件的行中。 Specflow 是否提供任何此类功能? Default.srprofile 中是否有任何关于标签的文档,我可以使用它来操作我想要 运行 的 include/exclude 特征文件?

您可以在 Default.srProfile 中为 Tags/Features/Scenarios 配置过滤。
请参阅此处的文档:http://www.specflow.org/plus/documentation/SpecFlowPlus-Runner-Profiles/#Filter

https://whosebug.com/users/3155323/andreas-willich

@smoke 
scenario: B
.....

@new
Scenario: A

--filter "@smoke | @new"

运行 测试的有序方式没有发生。它根据场景定义的字母顺序运行