Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 786 Bytes

File metadata and controls

22 lines (15 loc) · 786 Bytes

Build Status

This example demonstrates how to collect code coverage by integration tests, tests are located in a separate Java Maven module. SonarQube aggregates code coverage by unit tests and integration tests to compute an overall code coverage.

Prerequisites

Usage

  • Build the project, execute all the tests and analyze the project with SonarQube Scanner for Maven:

      mvn clean install sonar:sonar
    

Sonar coverage Report updated in SonarCloud:

SonarQube-output.PNG

alt text