This page gives you a quick reference to get JUnit Platform Runner dependency for Maven or Gradle projects. You can also download the JUnit Platform Runner dependency, the link given at the "Download JAR File" section.
Module "junit-platform-runner" of JUnit 5.
JUnit Platform Runner Maven Dependency
Copy below JUnit Platform Runner maven dependency and paste in your project pom.xml file:
<!-- https://mvnrepository.com/artifact/org.junit.jupiter/junit-jupiter-engine -->
<!-- https://mvnrepository.com/artifact/org.junit.platform/junit-platform-runner -->
<dependency>
<groupId>org.junit.platform</groupId>
<artifactId>junit-platform-runner</artifactId>
<version>1.5.2</version>
<scope>test</scope>
</dependency>
JUnit Platform Runner Gradle Dependency
Copy below JUnit Platform Runner Gradle dependency and paste in your project build.gradle file:
// https://mvnrepository.com/artifact/org.junit.platform/junit-platform-runner
testCompile group: 'org.junit.platform', name: 'junit-platform-runner', version: '1.5.2'
Comments
Post a Comment