Skip to content

Commit 7e7cc2f

Browse files
committed
Update README to mention both OpenClover and JaCoCo
1 parent de7155c commit 7e7cc2f

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

README.md

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,13 @@ Ask JUnit 5 related questions on [StackOverflow] or chat with the team and the c
3636

3737
## Code Coverage
3838

39-
[![codecov](https://codecov.io/gh/junit-team/junit5/branch/master/graph/badge.svg)](https://codecov.io/gh/junit-team/junit5)
40-
41-
Code coverage using [OpenClover] for the latest build is available on the
42-
[Jenkins CI server].
39+
Code coverage using [JaCoCo] for the latest build is available on the
40+
[Jenkins CI server] and on [Codecov].
4341

4442
A code coverage report can also be generated locally by executing
43+
`gradlew -PenableJaCoCo clean jacocoRootReport`. The results will be available in
44+
`build/reports/jacoco/jacocoRootReport/html/index.html`.
45+
Alternatively, [OpenClover] can be used locally via
4546
`gradlew -PenableClover clean cloverHtmlReport`. The results will be available in
4647
`build/reports/clover/html/index.html`.
4748

@@ -140,13 +141,14 @@ as it is not intended to be used as a module.
140141

141142

142143
[Automatic-Module-Name]: http://mail.openjdk.java.net/pipermail/jpms-spec-experts/2017-April/000667.html
143-
[OpenClover]: http://openclover.org
144+
[Codecov]: https://codecov.io/gh/junit-team/junit5
144145
[CONTRIBUTING.md]: https://github.com/junit-team/junit5/blob/master/CONTRIBUTING.md
145146
[Gitter]: https://gitter.im/junit-team/junit5
146-
[Jenkins CI server]: https://junit.ci.cloudbees.com/job/JUnit5/job/master/lastSuccessfulBuild/clover-report/
147+
[JaCoCo]: http://www.eclemma.org/jacoco/
147148
[Javadoc]: http://junit.org/junit5/docs/current/api/
148-
[User Guide]: http://junit.org/junit5/docs/current/user-guide/
149+
[JDK-9]: http://jdk.java.net/9/
150+
[Jenkins CI server]: https://junit.ci.cloudbees.com/job/JUnit5/job/master/lastSuccessfulBuild/artifact/build/reports/jacoco/jacocoRootReport/html/index.html
151+
[OpenClover]: http://openclover.org
149152
[Prototype]: https://github.com/junit-team/junit5/wiki/Prototype
150153
[StackOverflow]: https://stackoverflow.com/questions/tagged/junit5
151-
[Twitter]: https://twitter.com/junitlambda
152-
[JDK-9]: http://jdk.java.net/9/
154+
[User Guide]: http://junit.org/junit5/docs/current/user-guide/

0 commit comments

Comments
 (0)