Hello everyone! I have been working on a Kotlin Mu...
# kotest
s
Hello everyone! I have been working on a Kotlin Multiplatform project for the past six months, and I’m currently trying to set up an environment for testing using Kotest. However, I’m having trouble getting it to work with my multiplatform setup. I attempted to write test cases for a single module, but they were failing. I’d like to know how to configure the Kotest environment for the root module. Is there a way to write test cases for the root module itself? Thank you!
s
• what is your existing configuration • how was it failing
s
I am using
Copy code
plugins {
    kotlin("multiplatform") version "1.8.0"
    id("application")
}
For specific module gradle plugin is
plugins {
id("io.kotest.multiplatform") version "5.0.2"
}
Is there a way to build a single JAR file that includes all module tests, so that when the JAR is executed, all the test cases for each module are run at once? The output should display the number of test cases passed and failed for each module separately.