SonarQube 5.6.1 and VSTS - No count for Unit Tests -
we use vsts newest sonarqube tasks , sonarqube 5.6.1 in sonarqube see unit test coverage results, except 1 item: nr of unit tests. how/what need configure have nr of unit tests shown in sonar qube?
per sonarc# documentation, need import unit test execution results, using applicable property (for example sonar.cs.vstest.reportspath). trick set appropriate value, not straightforward in automated environments (e.g. vsts).
pending planned improvements sonarmsbru-231, may want try workaround mentioned in ticket:
/d:sonar.cs.vstest.reportspaths=..\**\testresults\**\*.trx
(under advanced, additional settings , in prepare sonarqube analysis build step)
Comments
Post a Comment