1.4.1. Downloading JUnit Artifacts
1.4.2. JUnit 5 Features
To find out what features are available in JUnit 5 and how to use them, read the corresponding sections of this User Guide, organized by topic.
Advanced Topics
1.4.3. Example Projects
To see complete, working examples of projects that you can copy and experiment with, the repository is a good place to start. The junit5-samples
repository hosts a collection of sample projects based on JUnit Jupiter, JUnit Vintage, and other testing frameworks. You’ll find appropriate build scripts (e.g., build.gradle
, , etc.) in the example projects. The links below highlight some of the combinations you can choose from.
For Gradle and Kotlin, check out the
[junit5-jupiter-starter-gradle-kotlin](https://github.com/junit-team/junit5-samples/tree/r5.7.0/junit5-jupiter-starter-gradle-kotlin)
project.For Gradle and Groovy, check out the project.
For Maven, check out the
[junit5-jupiter-starter-maven](https://github.com/junit-team/junit5-samples/tree/r5.7.0/junit5-jupiter-starter-maven)
project.