Is <Gradle test filtering> supported with Kotlin/N...
# kotest
c
Is Gradle test filtering supported with Kotlin/Native? I’ve tried
./gradlew macosX64Test --tests '*MyTestClass'
and
./gradlew macosX64Test --tests 'MyTestClass'
but in both cases all tests still ran
s
Those args are passed through to junit via gradle but with native tests, my guess is that they're not passed through to the native executor
j
I'm working on adding something similar in https://github.com/kotest/kotest/pull/2547 since Gradle is limited in its understanding of what a test is
👍🏻 1
c
OK great - so does what you’re working on in that PR @Jim cover the issue that @sam described, or should I open a bug on GitHub?
s
He's adding support directly to kotest for the same thing, so we don't have to rely on gradle's will it or won't it work
j
Yeah you’ll do something like
./gradlew macosX54Test -Dkotest.filter.specs='*MyTestClass'
I plan to finish it today 🤞
🎉 1