Closed Cali007UK closed 1 year ago
I couldn't reproduce this. Do you have a reproduction of the problem you could point us to?
And the SpecFlow+ Runner isn't supported anymore. More details here: https://specflow.org/using-specflow/the-retirement-of-specflow-runner/
I will close this, Background not accepting tags is not a limitation I'd come across.
And the SpecFlow+ Runner isn't supported anymore. More details here: https://specflow.org/using-specflow/the-retirement-of-specflow-runner/
There's no way most of the teams that use +Runner can migrate away when we end up losing so much functionality that the other frameworks don't give us as easily (Targets, Actions, Cucumber Json reports). You only need to look at a few forums and google results to see how devastating the decision to stop developing the runner has been.
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.40
Which test runner are you using?
SpecFlow+ Runner
Test Runner Version Number
3.9.31
.NET Implementation
.NET 5.0
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
No response
Issue Description
I have feature files with a Background and several Scenarios. When the feature files get generated by MSBuild it only applies the Background data to the very first Scenario in the feature file. I expect to see "Android_Tablet" in every Scenario. This used to work.
Example in the generated code (first Scenario)
Second Scenario in the same feature file:
Steps to Reproduce
Create a Feature file with a Background that contains a tag. Create 2 scenarios Build the project Observe test explorer
Link to Repro Project
No response