提交 6fa1095e 编写于 作者: S Sam Brannen

Upgrade to JUnit Jupiter 5.2

上级 ea713cf1
...@@ -47,9 +47,9 @@ configure(allprojects) { project -> ...@@ -47,9 +47,9 @@ configure(allprojects) { project ->
ext.hsqldbVersion = "2.4.0" ext.hsqldbVersion = "2.4.0"
ext.jackson2Version = "2.9.5" ext.jackson2Version = "2.9.5"
ext.jettyVersion = "9.4.9.v20180320" ext.jettyVersion = "9.4.9.v20180320"
ext.junitPlatformVersion = "1.1.1" ext.junitPlatformVersion = "1.2.0"
ext.junitJupiterVersion = "5.1.1" ext.junitJupiterVersion = "5.2.0"
ext.junitVintageVersion = "5.1.1" ext.junitVintageVersion = "5.2.0"
ext.kotlinVersion = "1.2.41" ext.kotlinVersion = "1.2.41"
ext.log4jVersion = "2.11.0" ext.log4jVersion = "2.11.0"
ext.nettyVersion = "4.1.24.Final" ext.nettyVersion = "4.1.24.Final"
......
...@@ -81,9 +81,9 @@ dependencies { ...@@ -81,9 +81,9 @@ dependencies {
exclude group: "commons-logging", module: "commons-logging" exclude group: "commons-logging", module: "commons-logging"
} }
testCompile('io.projectreactor.ipc:reactor-netty') testCompile('io.projectreactor.ipc:reactor-netty')
testCompile('de.bechte.junit:junit-hierarchicalcontextrunner:4.12.1')
// Pull in the latest JUnit 5 Launcher API and the Vintage engine as well // Pull in the latest JUnit 5 Launcher API and the Vintage engine as well
// so that we can run JUnit 4 tests in IntelliJ IDEA. // so that we can run JUnit 4 tests in IntelliJ IDEA.
testCompile('de.bechte.junit:junit-hierarchicalcontextrunner:4.12.1')
testRuntime("org.junit.jupiter:junit-jupiter-engine:${junitJupiterVersion}") testRuntime("org.junit.jupiter:junit-jupiter-engine:${junitJupiterVersion}")
testRuntime("org.junit.platform:junit-platform-launcher:${junitPlatformVersion}") testRuntime("org.junit.platform:junit-platform-launcher:${junitPlatformVersion}")
testRuntime("org.junit.vintage:junit-vintage-engine:${junitVintageVersion}") testRuntime("org.junit.vintage:junit-vintage-engine:${junitVintageVersion}")
...@@ -118,7 +118,7 @@ task testJUnitJupiter(type: Test) { ...@@ -118,7 +118,7 @@ task testJUnitJupiter(type: Test) {
} }
test { test {
description = 'Runs JUnit tests.' description = 'Runs JUnit 4 tests.'
dependsOn testJUnitJupiter, testNG dependsOn testJUnitJupiter, testNG
useJUnit() useJUnit()
scanForTestClasses = false scanForTestClasses = false
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册