SpecFlow
SpecFlow copied to clipboard
on a docker container, no report is getting generated for failed test scripts in specflow runner
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
Sdk-style project format
.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
{ "bindingCulture": { "name" :"en-us" }, "language": { "feature": "en-us" }, "stepAssemblies": [ { "assembly": "STestFramework" } ] }
Issue Description
on a docker container, no report is getting generated for failed test scripts. only the pass test scripts are getting generated
Steps to Reproduce
Execute the scripts on a docker container, no report is getting generated for failed test scripts. What could be the issue. what are the other details needed to for you to understand the issue.
Link to Repro Project
No response
Docker version 20.10.5
Do you have mono installed in the docker image? It is a requirement for the report generation: https://docs.specflow.org/projects/specflow-runner/en/latest/Usage/Reports.html#additional-requirements-for-non-windows-users