JUnit Jupiter API Maven Dependency

This page gives you a quick reference to get JUnit Jupiter API dependency for Maven or Gradle projects. You can also download the JUnit Jupiter API dependency, the link given at the "Download JAR File" section.
Module "JUnit Jupiter API" of JUnit 5.

JUnit Jupiter API Maven Dependency

Copy below JUnit Jupiter API maven dependency and paste in your project pom.xml file:
<!-- https://mvnrepository.com/artifact/org.junit.jupiter/junit-jupiter-api -->
<dependency>
    <groupId>org.junit.jupiter</groupId>
    <artifactId>junit-jupiter-api</artifactId>
    <version>5.5.2</version>
    <scope>test</scope>
</dependency>

JUnit Jupiter API Gradle Dependency

Copy below JUnit Jupiter API Gradle dependency and paste in your project build.gradle file:
// https://mvnrepository.com/artifact/org.junit.jupiter/junit-jupiter-api
testCompile group: 'org.junit.jupiter', name: 'junit-jupiter-api', version: '5.5.2'

Download JAR File

Check for Latest Release

Reference


Comments