Kirill Zhukov
09/06/2023, 8:22 PMintegrationTest compilation in KMP project and a JVM target. I’ve got some tests in jvmIntegrationTest source set. When trying to run these tests from IDE using Kotest plugin, it seems to run jvmTest task not jvmIntegrationTest. Is it something that Kotest plugin need to somehow pick up on, or are there additional steps I need to take when configuring my compilation? 👀Kirill Zhukov
09/06/2023, 8:23 PMKirill Zhukov
09/06/2023, 8:23 PMKirill Zhukov
09/06/2023, 8:23 PMKirill Zhukov
09/06/2023, 8:24 PMKirill Zhukov
09/06/2023, 8:24 PMKirill Zhukov
09/06/2023, 8:24 PMconfigureJunit function like this:
private fun Project.configureJUnit(sourceSet: KotlinSourceSet) {
sourceSet.apply {
tasks.withType<Test>().configureEach {
useJUnitPlatform()
configureJvmTestLogging()
propagateKotestSystemProperties()
}
dependencies {
implementation(libs.jvm.test.kotest.junit)
}
}
}Javier
09/06/2023, 11:32 PMKirill Zhukov
09/06/2023, 11:34 PMKirill Zhukov
09/08/2023, 10:11 PMKirill Zhukov
09/19/2023, 4:13 AMKirill Zhukov
09/19/2023, 4:14 AM