Code coverage report

Based on my understanding from the article, Sonar employs a third-party tool to execute unit tests and calculate coverage. Subsequently, Sonar retrieves these results to display code coverage on its dashboard. Now, if certain teams are utilizing different tools for similar purposes, such as another enterprise tool, can Sonar still retrieve those results? Or is Sonar limited to fetching results exclusively from the tools it recommends?

Furthermore, is it possible to generate a code coverage report without performing unit tests?

Hi,

Not exactly. You employ a 3rd-party tool.

No, you pass the results in to analysis.

You can find a consolidated list of supported formats in the docs.

Again, that’s really a question for the tool vendors, but generally: no.

 
HTH,
Ann