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
We are working on TSQL code coverage, and successfully generated the opencoverxml file using powershell task. But we are unable to convert the opencoverxml file into cobertura file to publish into SonarQube report, its missing with line of coverage data while using the report generator tool via Azure DevOps pipeline. Can you please assist on this request.
To Reproduce
The following input helps to reproduce your issue:
Console output of ReportGenerator, we have create the task to convert opencoverxml to Cobertura.
post conversion the line of code is not covered and piblished.
The output file that we are getting through HTML and XML, but it is unable to convert into Cobertura file using report generated. We can able to publish the code coverage only if it is converted into cobertura.
If the issue is related to a specific coverage file which gets parsed by ReportGenerator, you can share the file:
Opencover XML file send through the Email
The text was updated successfully, but these errors were encountered:
The problem is/was that the listed files in the OpenCover file do not exist on disk (e.g. [dbo].[sp_alterdiagram]).
Therefore ReportGenerator is not able to read the file which resulted in an empty <lines /> element.
I changed the behavior now. If a file does not exist at least the lines from the OpenCover file are represented in the Cobertura output.
Please try again. And I would be happy if you update your review to 5 stars :-)
Hi All,
We are working on TSQL code coverage, and successfully generated the opencoverxml file using powershell task. But we are unable to convert the opencoverxml file into cobertura file to publish into SonarQube report, its missing with line of coverage data while using the report generator tool via Azure DevOps pipeline. Can you please assist on this request.
To Reproduce
The following input helps to reproduce your issue:
post conversion the line of code is not covered and piblished.
The output file that we are getting through HTML and XML, but it is unable to convert into Cobertura file using report generated. We can able to publish the code coverage only if it is converted into cobertura.
HTMLXMfile-correct output.zip
Opencover XML file send through the Email
The text was updated successfully, but these errors were encountered: