Upgrade to JUnit Jupiter 5.2

This commit is contained in:
Sam Brannen
2018-04-30 11:21:26 +01:00
parent ea713cf154
commit 6fa1095e35
2 changed files with 5 additions and 5 deletions

View File

@@ -47,9 +47,9 @@ configure(allprojects) { project ->
ext.hsqldbVersion = "2.4.0"
ext.jackson2Version = "2.9.5"
ext.jettyVersion = "9.4.9.v20180320"
ext.junitPlatformVersion = "1.1.1"
ext.junitJupiterVersion = "5.1.1"
ext.junitVintageVersion = "5.1.1"
ext.junitPlatformVersion = "1.2.0"
ext.junitJupiterVersion = "5.2.0"
ext.junitVintageVersion = "5.2.0"
ext.kotlinVersion = "1.2.41"
ext.log4jVersion = "2.11.0"
ext.nettyVersion = "4.1.24.Final"

View File

@@ -81,9 +81,9 @@ dependencies {
exclude group: "commons-logging", module: "commons-logging"
}
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
// 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.platform:junit-platform-launcher:${junitPlatformVersion}")
testRuntime("org.junit.vintage:junit-vintage-engine:${junitVintageVersion}")
@@ -118,7 +118,7 @@ task testJUnitJupiter(type: Test) {
}
test {
description = 'Runs JUnit tests.'
description = 'Runs JUnit 4 tests.'
dependsOn testJUnitJupiter, testNG
useJUnit()
scanForTestClasses = false