I have an issue when I am running sonar for my solution. we have configured the sonar with Gallio and NCover. But the coverage result is not showing in the result.
These are the software versions which we have on our build servers:
Sonar v2.14
Java Runner v1.2
JDK v1.6 : jdk1.6.0_30
Gallio v3.3.458.0
NCover v3.4.16.6924 x86
VS2008
My Sql Server- 5.6
The following are the parameters we are passing to the sonar.
sections from the sonar project properties file
sonar.gallio.mode=
sonar.gallio.installDirectory=C:/Gallio
sonar.gallio.coverage.tool=NCover
sonar.gallio.runner=IsolatedProcess
sonar.NCover.installDirectory=C:/Program Files/NCover
sonar.donet.visualstudio.testProjectPattern=*UnitTest*;Testing*;*test*
sonar.dotnet.test.assemblies=bin/debug/xxx.dll
The Sample Sonar project configuration file
sonar.gallio.mode=
sonar.gallio.installDirectory=C:/Gallio
sonar.gallio.coverage.tool=NCover
sonar.gallio.runner=IsolatedProcess
sonar.donet.visualstudio.testProjectPattern=*UnitTest*;Testing*;*test*;*Test*
sonar.NCover.installDirectory=c:/Program Files/NCover
sonar.dotnet.test.assemblies=bin/Debug/SimpleLibrary.Tests.dll
But I can see a warning message when I am running sonar with respect to NCover regarding the coverage file.
No Gallio coverage report file found for: D:\SareeshTest\SimpleClassLibrary\SimpleClassLibrary.sonar\coverage-report.xml
If I am putting one ‘coverage-report.xml’ which I have created with NCover Explorer separately then the result shows the coverage.
Could you please help me with this or suggest a solution?