I'm using an asp.net MVC project with VSTS and Sonar (5.6.3). My unit test coverage is showing up on my Sonar Dashboard.
However, I didn't find a way to display number of unit test passed/failed on the dashboard.
Any help?
I'm using an asp.net MVC project with VSTS and Sonar (5.6.3). My unit test coverage is showing up on my Sonar Dashboard.
However, I didn't find a way to display number of unit test passed/failed on the dashboard.
Any help?
I am not sure my issue is relate to yours. I am using karma-sonarqube-unit-reporter to generate output.xml for sonar. The reason number of unit tests doesnt show on home page is in the output.xml all the file paths are not defined. Change all the file paths to test files paths solve the problem. Hope this helps.
You won't find any way to display those measures on the pre-configured project home page. However, if you have fed Unit Test Execution data, they will be available on the Measures, page, and on the Coverage sub-page.
To be explicit, this data cannot be "intuited" from your test coverage reports, but must be provided separately.