6/9/2023 0 Comments Sonarqube vs castSet the sonar.cs.dotcover.reportsPaths or sonar.cs.opencover.reportsPaths property respectively for both tools to import code coverage. Hopefully I have been going down the wrong path and there is a simple way to integrate VS Coverage or coveragexml files into Sonar without too much workĮxtra Information on my Sonar plugins areīoth OpenCover and dotCover reports are supported by the C# 4.1 plugin. This is because its does not like the structure of my XML, but I am not sure what is is expecting and how much work I have to do on the coverage file to convert it into a format that Sonar likes I get errors like Caused By: unknown XML Node, Expect Coverage but coveragexml file from hereĪnd even used XSLT stylesheet provide in one that could be used by the SonarQube runner \UnitTestProject1\bin\Debug\UnitTestProject1.dllĪnd written some code like to covert it into a. \UnitTestProject1\bin\Debug\UnitTestProject1.dll /EnableCodeCoverageĪnd CodeCoverage.exe collect /output:verage. I have tried a few of the VS command line tools to generate a. ![]() VS2013 CodeCoverage.exe runsettings file never parses coveragexml file produced from Visual Studio's MSTest ![]() Sonar Runner errors out during processing of. It looks like many other people have faced this issue when SonarQube discontinued support for many of the 'go to' coverage tool such as DotCover and OpenCover via Gallio I have had some success getting it up and running but code coverage is not working. I have been trying to get SonarQube working with a simple dot net app.
0 Comments
Leave a Reply. |