Skip to content

A small example about how to create a code with test coverage using JaCoCo, in SonarCloud

License

Notifications You must be signed in to change notification settings

topera/gradle-jacoco-sonar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Topera's Hello World #007

Code coverage in SonarClould using JaCoCo (jUnit version)

This hello world is a small program that uses JaCoCo to generate code coverage. The coverage results can be automatically interpreted by SonarCloud.

The tests here are written in Java with jUnit.

Generating report locally:

  • $ cd gradle-jacoco-sonar
  • $ gradle jacocoTestReport
  • The code coverage report is generated in ./build/reports/jacoco/test/html/index.html

Test with SonarCloud

Tech Stack

  • IntelliJ IDEA 2016.1.4
  • Gradle 4.0

To take a look in other projects, please see https://github.com/topera/index

About

A small example about how to create a code with test coverage using JaCoCo, in SonarCloud

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages