Switch to JUnit 5 as test runner

This commit is contained in:
Brian Norman
2021-11-26 14:02:24 -06:00
parent 2e5de9f58e
commit e346df26d3
10 changed files with 22 additions and 14 deletions
+5 -1
View File
@@ -32,7 +32,7 @@ kotlin {
}
val jvmTest by getting {
dependencies {
implementation(kotlin("test-junit"))
implementation(kotlin("test-junit5"))
}
}
val jsTest by getting {
@@ -49,6 +49,10 @@ kotlin {
}
}
tasks.withType<Test> {
useJUnitPlatform()
}
configure<com.bnorm.power.PowerAssertGradleExtension> {
functions = listOf(
"kotlin.assert",