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
In my setup, I have some test projects that are multi-targeted against both .NET Framework and .NET Core / .NET Standard. When running tests for .NET Framework, I'm using OpenCover for code coverage, wheres for .NET Core and .NET Standard, I'm using coverlet, which generates code coverage reports in the cobertura format.
When feeding both OpenCover and cobertura reports for the same project into ReportGenerator (the parser is listed as MultiReportParser (Nx CoberturaParser, Mx OpenCoverParser), the metrics shown for the cobertura report ends up in the wrong columns, as shown in the image below:
I'm guessing because only the OpenCover report has metrics for the "NPath complexity", the sequence coverage and branch coverage of the cobertura results are shifted one column too far to the left. The expected result would be that the rows from the cobertura report either are filled with blank columns for the missing metrics, or the columns were reordered to prevent this.
I.e. it should have looked something like this:
For completeness, here is a snippet of the generated HTML (I've removed the title attrs):
In my setup, I have some test projects that are multi-targeted against both .NET Framework and .NET Core / .NET Standard. When running tests for .NET Framework, I'm using OpenCover for code coverage, wheres for .NET Core and .NET Standard, I'm using coverlet, which generates code coverage reports in the cobertura format.
When feeding both OpenCover and cobertura reports for the same project into ReportGenerator (the parser is listed as
MultiReportParser (Nx CoberturaParser, Mx OpenCoverParser)
, the metrics shown for the cobertura report ends up in the wrong columns, as shown in the image below:I'm guessing because only the OpenCover report has metrics for the "NPath complexity", the sequence coverage and branch coverage of the cobertura results are shifted one column too far to the left. The expected result would be that the rows from the cobertura report either are filled with blank columns for the missing metrics, or the columns were reordered to prevent this.
I.e. it should have looked something like this:
For completeness, here is a snippet of the generated HTML (I've removed the
title
attrs):The text was updated successfully, but these errors were encountered: