Skip to content

estebanwasinger/SonarQubeJaCoCoAndMavenExample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 tersts to compute an overall code coverage (this feature requires SonarQube 3.3).

Prerequisites

  • SonarQube 3.4 or higher
  • Maven 2.2.1 or higher

Usage

  • Build the project and execute all the tests:

      mvn clean install
    
  • Analyze the project with SonarQube using Maven:

      mvn sonar:sonar
    

About

Example of multi module Maven project analysed with SonarQube and JaCoCo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages