LevT
01/21/2021, 12:09 PMbuild.gradle.kts
for property testing with Kotest
I'd prefer to try it in parallel (not technically said)
with another recommended for Kotlin/JVM engine (jqwik? or any preferred over it)
And I'm still having no sense of kotlin.testplugins {
kotlin("jvm") version "1.4.21"
id("io.kotest") version "0.2.6"
}
group = "org.example"
version = "1.0-SNAPSHOT"
repositories {
jcenter()
}
dependencies {
implementation("com.google.code.gson:gson:2.8.5")
testImplementation(platform("org.junit:junit-bom:5.7.0"))
testImplementation("org.junit.jupiter:junit-jupiter")
testImplementation("io.kotest:kotest-assertions-core-jvm:4.3.2")
testImplementation("io.kotest:kotest-framework-engine-jvm:4.3.2")
}
tasks.withType<Test> {
useJUnitPlatform()
testLogging {
events("passed", "skipped", "failed")
}
}
How can I know if kotest is working here on itself or via junit5?
I am curious about a real check, being aware of the word of the plugin documentation.
And please help me adding another PTE (recommended in any opinionated sense)sam
01/23/2021, 5:57 AMLevT
01/23/2021, 7:07 AMsam
01/24/2021, 5:16 PM