Skip to end of metadata
Go to start of metadata

Overview

It is possible to feed SonarQube with tests execution and code coverage reports.

See Component Viewer on Unit Test File or Quality Flows > Lack of Unit Tests to browse the results in the web interface.

Usage

To be reused by SonarQube:

  • The tests execution reports have to comply to the JUnit XML format.
  • The code coverage reports have to be generated by JaCoCoCobertura or Clover.

Set the following properties to import those reports:

Project samples are available on github that can be browsed or downloadedprojects/languages/java/code-coverage/ut

  • No labels