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.
Contributions to JUnit 5 are both welcomed and appreciated. For specific guidelines
regarding contributions, please see CONTRIBUTING.md in the root directory of the
project. Those willing to use the ALPHA, milestone, or SNAPSHOT releases are encouraged
to file feature requests and bug reports using the project's
issue tracker. Issues marked with an
up-for-grabs
label are specifically targeted for community contributions.
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-ALPHA
OR5.0.0-SNAPSHOT
- Artifact IDs:
junit-commons
junit-console
junit-engine-api
junit-gradle
junit-launcher
junit4-engine
junit4-runner
junit5-api
junit5-engine
surefire-junit5
See also: https://oss.sonatype.org/content/repositories/snapshots/org/junit/