Reputation: 23
I see that sonarcube re-added nunit test results support since Nov 7 2014: http://docs.sonarqube.org/display/SONAR/C%23+Plugin
However, I did not find anything that showed how to do this in the sonar-project.properties file.
For example, see the one they provide on git hub here: https://github.com/SonarSource/sonar-examples/blob/master/projects/languages/csharp/sonar-project.properties
What nunit specific line should be put in this file to replace the "sonar.cs.vstest.reportsPaths=TestResults/*.trx" mstest line?
Thanks!
Upvotes: 2
Views: 4945
Reputation: 1525
The newly added key for NUnit test reports can be found on the project c# settings page - under UNit Tests tab, and its value is:
sonar.cs.nunit.reportsPaths
Provided value should be the .xml output from the NUnit console runner.
Upvotes: 3