Hi all, I am willing to use Kotest to test my multi-platform library (targets jvm, js and native). So I have a few questions that I can't fully answer with what I've gathered from the
kotest.io documentation website. I hope you'll be able to answer those and I thank you in advance.
I figured out that I had to add those dependencies to my
commonTest
source-set:
implementation("io.kotest:kotest-framework-engine:$kotestVersion")
implementation("io.kotest:kotest-framework-datatest:$kotestVersion")
I also had to add this dependencies to my
jvmTest
source-set, to have the tests picked up by JUnit:
implementation("io.kotest:kotest-runner-junit5:$kotestVersion")
1. What are the corresponding ways to have tests picked up for JS and Native targets?
2. It seems to me that
kotest-framework-datatest
is not yet supported on Native target? (cf.
https://search.maven.org/search?q=g:io.kotest%20kotest-framework-datatest) Will this be supported at some point? (I don't seem to see anything in its source code
https://github.com/kotest/kotest/tree/master/kotest-framework/kotest-framework-datatest that would prevent it from running on Native, except the fact that the target is not defined in the Gradle build file. Or am I missing something?)