Closed go-green closed 2 years ago
The SpecFlow+ Runner doesn't support this option.
Also be aware, that we stopped the development of the SpecFlow+ Runner. More details at: https://specflow.org/using-specflow/the-retirement-of-specflow-runner/
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
SpecFlow Version
3.9.52
Which test runner are you using?
SpecFlow+ Runner
Test Runner Version Number
3.9.31
.NET Implementation
equal or greater .NET Framework 4.6.1
Project Format of the SpecFlow project
Classic project format using
packages.config
.feature.cs files are generated using
SpecFlow.Tools.MsBuild.Generation NuGet package
Test Execution Method
Visual Studio Test Explorer
SpecFlow Section in app.config or content of specflow.json
Issue Description
I have some features tagged with @NotParallel at the feature level and as per the documentation, my understanding is that those features will not run in parallel with other features. However, when I execute two feature files (one tagged with @NotParallel & another not tagged ), I noted that specflow runs tests from both feature files at the same time. I tried both testSchedulingMode = Random and Sequential. My specflow.json file was copied to the output directory. I could not see any special attributes in the generated *.feature.cs files to run tests in parallel. All I want is to run some tests sequentially in the same run without having to add another build configuration dedicated for sequential tests.
Steps to Reproduce
Link to Repro Project
No response