Sonar 4.3 and C# 3.1 not executing testcases

125 Views Asked by At

Just upgraded to Sonar 4.3 and C# 3.1 and now my tests are not being run/don't show up in Sonar. What do I need to change to get this work in this upgraded environment? Tried to run with sonar.visualstudio.enable=true to minimize configuration in sonar-project.properties.

Everything has been running before the upgrade.

1

There are 1 best solutions below

3
Fabrice - SonarSource Team On

Since C# 3.0, the automatic execution of tests via Gallio has been dropped, as you can see in the SONARCS-37 ticket.

This means you must run the tests and generate reports before launching the SonarQUbe analysis, and use the reuse report capabilities of the plugin to import those test results in SonarQube.