0
votes

I'm currently using SonarQube 4.4 (latest) and I am trying to get a code coverage report for my c# project to appear. I have the Unit Test Success showing but the Code Coverage simply shows as " - " like so:

Here is what I am doing: I am following the sonarqube example page: https://github.com/SonarSource/sonar-examples/tree/master/projects/languages/csharp

I am running OpenCover and VSTest and configuring SonarQube to find the report.xml path under the CodeCoverage Configuration tab as well as configuring the Unit Test result paths.

From my understanding SonarQube no longer support Gallio, am I missing something?

1

1 Answers

-2
votes

Indeed, the C# plugin does not support Gallio anymore. But the latest versions support importing test result reports generated by tools like OpenCover.

Please read the "Code Coverage" documentation to know how to do this.