Thread
#multiplatform
    s

    Sabrina Namur

    1 year ago
    Hey, is it possible to generate common tests dynamically (with a for loop)? I'm using the kmm plugin and have only andorid and ios as targets. I tried to set up junit5 and use TestFactory Annotations but it does not work.
    Benoît

    Benoît

    1 year ago
    Did you include the Kotlin test dependencies in your commonTest? (in build.gradle)
    s

    Sabrina Namur

    1 year ago
    I tried this: (in my shared module in the build.gradle.kts file)
    implementation(kotlin("test-common"))
    implementation(kotlin("test-annotations-common"))
    implementation(kotlin("test-junit5"))
    I found another solution that works for me. So thanks for the help, but this fits for me.