You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While I run target IReportCoverage.ReportCoverage or when I run target ITest.Test with IsServerBuild == true the coverage report is not being generated. Trx files are being created correctly.
Reproduction Steps
Run Test target with IsServerBuild or ReportCoverage target.
Expected Behavior
CoverageReports should be generated together with test reports
Actual Behavior
ReportFiles are not being generated. It seems that dotnet command is missing parameters
Command executed: "C:\Program Files\dotnet\dotnet.exe" test XXX.Tests.csproj --configuration Debug --logger trx;LogFileName=XXX.Tests.trx --no-build --results-directory XXX\artifacts\Debug\Unknown\test-results
I would guess that I need also --collect:"XPlat Code Coverage
Regression?
No response
Known Workarounds
No response
Could you help with a pull-request?
No
The text was updated successfully, but these errors were encountered:
Usage Information
Nuke 8.0.0, dotnet 6
Description
While I run target IReportCoverage.ReportCoverage or when I run target ITest.Test with IsServerBuild == true the coverage report is not being generated. Trx files are being created correctly.
Reproduction Steps
Run Test target with IsServerBuild or ReportCoverage target.
Expected Behavior
CoverageReports should be generated together with test reports
Actual Behavior
ReportFiles are not being generated. It seems that dotnet command is missing parameters
Command executed:
"C:\Program Files\dotnet\dotnet.exe" test XXX.Tests.csproj --configuration Debug --logger trx;LogFileName=XXX.Tests.trx --no-build --results-directory XXX\artifacts\Debug\Unknown\test-results
I would guess that I need also
--collect:"XPlat Code Coverage
Regression?
No response
Known Workarounds
No response
Could you help with a pull-request?
No
The text was updated successfully, but these errors were encountered: