if i create a new project and add only ```testImpl...
# kotest
c
if i create a new project and add only
Copy code
testImplementation("io.kotest:kotest-framework-engine-jvm:$kotestVersion")
as dependency (and the kotest gradle plugin), i get this compiler error:
Copy code
> Task :compileTestKotlin FAILED
e: Supertypes of the following classes cannot be resolved. Please make sure you have the required dependencies in the classpath:
    class io.kotest.core.spec.style.scopes.ContainerScope, unresolved supertypes: kotlinx.coroutines.CoroutineScope
    class io.kotest.core.test.TestContext, unresolved supertypes: kotlinx.coroutines.CoroutineScope
s
For some reason the
kotest-framework-api
module does not always get pulled down transitivity when using multi platform projects. I think its a bug in gradle or the kotlin mpp gradle plugin.
Solution is to add the dependency yourself.