Template for a good new topic, formatted with Markdown:
- ALM used: Azure DevOps
- CI system used: Azure DevOps
- Languages of the repository: C#
I have a project set up in DevOps which generates an OpenCover report and pushes it to Sonar Cloud.
However, the output I’m seeing in Sonar Cloud doesn’t match the report. I’m using run settings to only include certain assemblies. And I can see this is the case when I look at the opencover.xml but in Sonar Cloud I can see a number of files appearing as “uncovered” which aren’t in the report.
Also the summaries don’t match, my xml report shows a sequenceCoverage of 56.89% and Sonar Cloud shows a coverage metric of 41.7%
Can someone tell me what’s going on here and how I can get Sonar Cloud to respect the report properly?