Versions Compared

Key

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

...

Note: You can still use Clover,  or Cobertura or Emma to assess code coverage by unit tests together with JaCoCo for integration tests.

Sample projects are available on github that can be browsed or downloaded: /projects/languages/java/code-coverage/it.

Combining Code Coverage with Unit and Integration Tests

Since version 3.3, the Tthe overall code coverage (combination of code coverage by unit tests and integration tests) is automatically computed. This feature is enabled when both code coverage reports (UT + IT) are generated with JaCoCo.

...

Sample projects are available on github that can be browsed or downloaded:

  • /projects/languages/java/code-coverage/combined ut-it/combined-ut-it-sonar-runner-jacoco
  • /projects/languages/java/code-coverage/combined ut-it/combined-ut-it-multimodule-maven-jacoco

...