Skip to content

Commit 862fb2a

Browse files
committed
Upgrade to JUnit 5.0.0-M1
Issue: SPR-13575
1 parent 0f589fc commit 862fb2a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

build.gradle

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ configure(allprojects) { project ->
5858
ext.jpaVersion = "2.1.1"
5959
ext.jtaVersion = "1.2"
6060
ext.junitVersion = "4.12"
61-
ext.junitJupiterVersion = '5.0.0-SNAPSHOT'
62-
ext.junitPlatformVersion = '1.0.0-SNAPSHOT'
61+
ext.junitJupiterVersion = '5.0.0-M1'
62+
ext.junitPlatformVersion = '1.0.0-M1'
6363
ext.log4jVersion = '2.6.1'
6464
ext.nettyVersion = "4.1.1.Final"
6565
ext.okhttpVersion = "2.7.5"
@@ -129,8 +129,6 @@ configure(allprojects) { project ->
129129

130130
repositories {
131131
maven { url "https://repo.spring.io/libs-release" }
132-
// For JUnit Platform and Jupiter snapshots:
133-
maven { url 'https://oss.sonatype.org/content/repositories/snapshots' }
134132
}
135133

136134
dependencies {

spring-test/src/test/java/org/springframework/test/context/junit/SpringJUnitJupiterTestSuite.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
import org.junit.platform.runner.IncludeEngines;
2020
import org.junit.platform.runner.JUnitPlatform;
2121
import org.junit.platform.runner.SelectPackages;
22+
import org.junit.platform.runner.UseTechnicalNames;
2223
import org.junit.runner.RunWith;
2324

2425
/**
@@ -36,5 +37,6 @@
3637
@RunWith(JUnitPlatform.class)
3738
@IncludeEngines("junit-jupiter")
3839
@SelectPackages("org.springframework.test.context.junit.jupiter")
40+
@UseTechnicalNames
3941
public class SpringJUnitJupiterTestSuite {
4042
}

0 commit comments

Comments
 (0)