My common tests don’t seem to be running at all wh...
# kotest
k
My common tests don’t seem to be running at all when targeting ios specifically: •
jvmTest
runs
commonTest
targeting JVM and runs tests •
iosSimulatorArm64Test
doesn’t seem to compile/run
commonTest
targets iOS target 🤔 I have
framework-engine
dependency added to
commonTest
, anything I might be missing?
How my iOS source sets are configured:
Copy code
ios()
iosSimulatorArm64()

sourceSets {
  val iosMain by creating
  val iosTest by creating
  targets.forEach {
    getByName("${it.name}Main").dependsOn(iosMain)
    getByName("${it.name}Test").dependsOn(iosTest)
  }
}
It looks like spec tests aren’t being picked on native
a
I think for JS and Native tests you need the Kotest Gradle plugin https://plugins.gradle.org/plugin/io.kotest.multiplatform
k
Huh, it doesn’t seem to be documented anywhere. Thanks, this worked!!