Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Include Page
Include - Plugin Installation
Include - Plugin Installation

Usage

See the Code Coverage by Unit Tests for Java Project tutorial.To display code coverage data:

  1. Prior to the SonarQube analysis, execute your unit tests and generate the Clover report.
  2. Import this report while running the SonarQube analysis by setting the sonar.clover.reportPath property to the path to the Clover report. The path may be absolute or relative to the project base directory.

Change Log

Version 3.0

It is no longer possible to let SonarQube drive the execution of unit tests.