Skip to content

testing maven-jacoco-sonar for unit test and integration test

Notifications You must be signed in to change notification settings

ejimz/maven-jacoco-sonar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This example demonstrates how to collect code coverage by integration tests, tests are located in a separate Java Maven module. Sonar aggregates code coverage by unit tests and integration tersts to compute an overall code coverage (this feature requires Sonar 3.3).

Prerequisites

  • Sonar 2.12 or higher
  • Maven 2.2.1 or higher

Usage

  • Build the project and execute all the tests:

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

      mvn sonar:sonar
    

About

testing maven-jacoco-sonar for unit test and integration test

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages