文章来源:https://github.com/happymff/junit5
<dependency>
<groupId>org.junit.platform</groupId>
<artifactId>junit-platform-launcher</artifactId>
<version>1.0.0-RC2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<version>5.0.0-RC2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.vintage</groupId>
<artifactId>junit-vintage-engine</artifactId>
<version>4.12.0-RC2</version>
<scope>test</scope>
</dependency>
Dependency Metadata
The following sections list the dependency metadata for the JUnit Platform, JUnit Jupiter, and JUnit Vintage.
See also http://repo1.maven.org/maven2/org/junit/ for releases and https://oss.sonatype.org/content/repositories/snapshots/org/junit/ for snapshots.
JUnit Platform
Group ID: org.junit.platform
Version: 1.0.0-RC2 or 1.0.0-SNAPSHOT
Artifact IDs:
junit-platform-commons
junit-platform-console
junit-platform-console-standalone
junit-platform-engine
junit-platform-gradle-plugin
junit-platform-launcher
junit-platform-runner
junit-platform-suite-api
junit-platform-surefire-provider
JUnit Jupiter
Group ID: org.junit.jupiter
Version: 5.0.0-RC2 or 5.0.0-SNAPSHOT
Artifact IDs:
junit-jupiter-api
junit-jupiter-engine
junit-jupiter-migrationsupport
junit-jupiter-params
JUnit Vintage
Group ID: org.junit.vintage
Version: 4.12.0-RC2 or 4.12.0-SNAPSHOT
Artifact ID: junit-vintage-engine