It is possible to feed SonarQube with tests execution and code coverage reports.
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 JaCoCo, Cobertura or Clover.
You can check the page of each coverage plugin to get more information on how to generate the reports or you can check the Analyzing with Maven documentation.
You can set the following properties to import those reports: