Hey, checking out kotest for the first time. Using...
# kotest
t
Hey, checking out kotest for the first time. Using Android Studio with gradle version 5.6.4, gradle plugin version 3.6.1. In build.gradle (:app) I have
Copy code
dependencies {
    ...
    testImplementation 'io.kotest:kotest-runner-junit5:4.0.1'
    testImplementation 'io.kotest:kotest-assertions-core-jvm:4.0.1'
    testImplementation "io.mockk:mockk:1.9.3"
    testImplementation 'junit:junit:4.12'
}
as well as
Copy code
android.testOptions {
    unitTests.all {
        useJUnitPlatform()
    }
}
when trying to mimic examples from the docs I cannot seem to be able to extend any of the Spec classes (just getting unresolved reference) nor use keywords like
shouldBe
. The only package I seem to be able to `import`is
io.kotest.matchers
. Any idea what I am missing? Thanks!
t
try to also add ‘io.kotestkotest core jvm4.0.1’ to dependencies
👍 1
t
It worked, thank you