1.4. Getting Started
1.4.1. Downloading JUnit Artifacts
To find out what artifacts are available for download and inclusion in your project, refer to Dependency Metadata. To set up dependency management for your build, refer to Build Support and the Example Projects.
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 junit5-samples
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
, pom.xml
, etc.) in the example projects. The links below highlight some of the combinations you can choose from.
For Gradle and Java, check out the
[junit5-jupiter-starter-gradle](https://github.com/junit-team/junit5-samples/tree/r5.7.0/junit5-jupiter-starter-gradle)
project.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
[junit5-jupiter-starter-gradle-groovy](https://github.com/junit-team/junit5-samples/tree/r5.7.0/junit5-jupiter-starter-gradle-groovy)
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.For Ant, check out the
[junit5-jupiter-starter-ant](https://github.com/junit-team/junit5-samples/tree/r5.7.0/junit5-jupiter-starter-ant)
project.