kotest-intellij-plugin
kotest-intellij-plugin copied to clipboard
Run kmp commonTest failed causes ClassNotFoundException
Kotlin version: 1.9.22, 1.9.23, 2.0.22 Kotest version: 5.9.1 Kotest IntelliJ plugin version: 1.3.13-IC-2024.1.1 Intellij IDEA CE version: 2024.2.2
I clone the kotest-example-multiplatform project, and try to run commonTest using gutter icons, Kotest informs me that No JDK specified.
Configuring the JDK to 17.0.2 and trying again, I expected it to work as expected, but it threw a ClassNotFoundException: io.kotest.engine.launcher.MainKt error.
I couldn't find any related problems. So i also tried running commonTest with kotlin-test(jvm), and it worked fine.
Maybe Kotest should run common tests on a special platform? Or did I miss any information?