https://github.com/mageddo/gradle-jacoco-report-coverage-example
https://github.com/mageddo/gradle-jacoco-report-coverage-example
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/mageddo/gradle-jacoco-report-coverage-example
- Owner: mageddo
- Created: 2016-01-08T18:13:00.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-05-11T19:07:21.000Z (about 10 years ago)
- Last Synced: 2025-02-02T01:41:16.157Z (over 1 year ago)
- Language: Java
- Size: 57.6 KB
- Stars: 0
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
A simple and self explain example that show you how to use **sonarqube** and **jacoco** to generate:
* Unit tests coverage
* Line coverage
* Unit tests success report
# Used framworks
* [Jacoco coverage gradle plugin](https://docs.gradle.org/current/userguide/jacoco_plugin.html)
* [Sonar gradle plugin ](https://docs.gradle.org/current/userguide/sonar_plugin.html)
* [How to configure sonar plugin](http://docs.sonarqube.org/display/SONAR/Analyzing+with+SonarQube+Scanner+for+Gradle)
# Running it
$ sonar.sh start
$ gradle sonarqube
# open browser on http://localhost:9000
You can use `gradle sonarqube -x test` too
# Print
