Skip to content

Commit

Permalink
dev: defined test task with useJUnitPlatform
Browse files Browse the repository at this point in the history
  • Loading branch information
borozcod committed Nov 15, 2023
1 parent e307336 commit 9ffb844
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
9 changes: 9 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,15 @@ dependencies {

testImplementation("io.ktor:ktor-server-tests:$ktor_version")
testImplementation("org.jetbrains.kotlin:kotlin-test-junit:$kotlin_version")

val junitVersion = "5.10.1"
testImplementation("org.junit.jupiter:junit-jupiter-engine:$junitVersion")
}

tasks {
test {
useJUnitPlatform()
}
}

tasks.test {
Expand Down
4 changes: 2 additions & 2 deletions src/test/kotlin/org/openmbee/flexo/mms/CharExtensionsTest.kt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package org.openmbee.flexo.mms

import kotlin.test.*
import org.junit.Test
import kotlin.test.assertTrue
import org.junit.jupiter.api.Test
import org.openmbee.flexo.mms.auth.shouldEscape
import org.openmbee.flexo.mms.auth.ESCAPE_CHARACTERS

Expand Down

0 comments on commit 9ffb844

Please sign in to comment.