kotest-intellij-plugin icon indicating copy to clipboard operation
kotest-intellij-plugin copied to clipboard

Run kmp commonTest failed causes ClassNotFoundException

Open lixi0912 opened this issue 1 year ago • 0 comments

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.

20240927_234627

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?

20240927_232614 image

lixi0912 avatar Sep 27 '24 15:09 lixi0912