Switch to JUnit 5 as test runner
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user