It looks like by bumping 5.3.2 to 5.4.1, all my co...
# kotest
d
It looks like by bumping 5.3.2 to 5.4.1, all my commonTest tests are not executed at all on native (linuxX64). Trying to understand the problem... Will add more info as soon as I understand what is going on. (You can try running
./gradlew :kzmq-tests:linuxX64Test
on https://github.com/ptitjes/kzmq.)
@sam I can't figure out from where the problem comes from, but it seems a regression of Kotest.
c
What version of Kotlin are you using?
s
This might be what you just fixed Charles
d
1.7.10
s
Native is skipped in 1.7 yeah, can you try the latest 5.5 snapshot ?
d
@sam I'm trying the 5.5.0.1066-SNAPSHOT but, resyncing in IDEA, I get: https://gist.github.com/ptitjes/8bd98141ed7ff98d535b6af63905d95f For information, I use the "old classpath" way. In root `build.gradle.kts`:
Copy code
buildscript {
    // ...
    dependencies {
        // ...
        classpath("io.kotest:kotest-framework-multiplatform-plugin-gradle:$kotestPluginVersion")
    }
}
And in sub-project
:kzmq-tests
, in `build.gradle.kts`:
Copy code
kotlin {
    sourceSets {
        val commonMain by getting {
            dependencies {
                implementation("io.kotest:kotest-framework-engine:$kotestVersion")
                implementation("io.kotest:kotest-framework-datatest:$kotestVersion")
                implementation("io.kotest:kotest-assertions-core:$kotestVersion")
            }
        }
    }
}
s
We might need to publish a new gradle plugin version too
d
But is that normal that there is no version 5.5.0.1066-SNAPSHOT for kotest-multiplatform-plugin-js?
s
That's called something else now which is why we'll need to republish the gradle side so it knows what to look for
Since this is a fix and not a feature I think we can release this as 5.4.2 this weekend
d
Hi @sam! Do you think we could have a 5.4.2 version of the Gradle plugin soon?
Thanks a lot @sam! My linuxX64 tests run (well fail) again with 5.4.2... ❤️
s
awesome 🙂
glad it works