SpecFlow icon indicating copy to clipboard operation
SpecFlow copied to clipboard

on a docker container, no report is getting generated for failed test scripts in specflow runner

Open akiladevraj opened this issue 3 years ago • 2 comments

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

akiladevraj avatar Sep 28 '21 09:09 akiladevraj

Docker version 20.10.5

akiladevraj avatar Sep 29 '21 09:09 akiladevraj

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

SabotageAndi avatar Sep 29 '21 11:09 SabotageAndi