This repository is the home of the next generation of JUnit, JUnit 5.
The project is currently in Phase 4, working toward the first official milestone release.
JUnit 5.0.0-ALPHA was released on February 1st, 2016.
Consult the wiki for details on the current JUnit 5 roadmap.
The JUnit 5 User Guide is available online.
The JUnit 5 Javadoc is available online.
Code coverage using Clover for the latest build is available on the Jenkins CI server. We are thankful to Atlassian for providing the Clover license free of charge.
A code coverage report can also be generated locally by executing gradlew -PenableClover clean cloverHtmlReport if you have a local Clover license file on your computer. The results will be available in
junit-tests/build/reports/clover/html/index.html.
All modules can be built with Gradle using the following command.
gradlew clean assemble
All modules can be tested with Gradle using the following command.
gradlew clean test
All modules can be installed in a local Maven repository for consumption in other projects via the following command.
gradlew clean install
- Group ID:
org.junit - Version:
5.0.0-ALPHAOR5.0.0-SNAPSHOT - Artifact IDs:
junit-commonsjunit-consolejunit-engine-apijunit-gradlejunit-launcherjunit4-enginejunit4-runnerjunit5-apijunit5-enginesurefire-junit5
See also: https://oss.sonatype.org/content/repositories/snapshots/org/junit/