#1 .NET BDD Framework. SpecFlow automates your testing & works with your existing code. Find Bugs before they happen. Behavior Driven Development helps developers, testers, and business representatives to get a better understanding of their collaboration
TestExecution.json file only 1 scenario test, tests in parallel using SpecFlow+Runner
dotnet test --configuration "Test" --filter "(TestCategory=A3&Name~target: Chrome)"
When the 6 test parallel runs are complete and you check the folder,
There is only one Test Execution.json file, and the content has only one scenario content.
SpecFlow Version
3.9.7
Which test runner are you using?
SpecFlow+ Runner
Test Runner Version Number
3.9.7
.NET Implementation
.NET 5.0
Project Format of the SpecFlow project
Classic project format using
<PackageReference>
tags.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
TestExecution.json file only 1 scenario test, tests in parallel using SpecFlow+Runner
dotnet test --configuration "Test" --filter "(TestCategory=A3&Name~target: Chrome)"
When the 6 test parallel runs are complete and you check the folder, There is only one Test Execution.json file, and the content has only one scenario content.
{"Nodes":[],"ExecutionTime":"2021-11-18T07:05:27.4377052Z","GenerationTime":"0001-01-01T00:00:00","PluginUserSpecFlowId":"831bb716-6ea7-41a8-af7b-aa8a18549ea4","CLIUserSpecFlowId":null,"ExecutionResults":[{"ContextType":"Scenario","FeatureFolderPath":"Features/Games","FeatureTitle":"Test","ScenarioTitle":"Test1","ScenarioArguments":[],"Status":"OK","StepResults":[{"Duration":"00:00:03.6108962","Status":"OK","Error":null,"Outputs":null},{"Duration":"00:00:02.8972892","Status":"OK","Error":null,"Outputs":null},{"Duration":"00:02:01.6962209","Status":"OK","Error":null,"Outputs":null},{"Duration":"00:00:00.0247738","Status":"OK","Error":null,"Outputs":null}],"Outputs":null}],"StepReports":null}
Steps to Reproduce
Run 2 or more tests and check TestExecution.json in bin folder
Link to Repro Project
No response