If you have time, please consider upvoting this is...
# kotest
s
If you have time, please consider upvoting this issue to get Junie to be able to run the Kotest tests it writes. That's apparently too much to ask for 🤦‍♂️ https://youtrack.jetbrains.com/issue/JUNIE-239/Add-support-for-Kotest Thanks @Emre for making.
2
1
s
Up voted
c
In the meantime, you can add to your guidelines to always run tests using
./gradlew check
☝️ 1
s
I actually did, explicitly tell it it must run all tests with the gradlew wrapper and STILL it wont run the tests.
c
Do you use the Kotest Multiplatform Gradle plugin? Without it, non-JVM platforms can't run tests
s
Its not a KMP project
but yes, the Kotest plugin is installed. Jetbrains confirmed the bug already on their public discord. This is just a ticket for tracking and was hoping to get upvotes so they'll actually prioritize it. 🙂
c
The Junie bug sure, but it's not normal that
./gradlew check
doesn't run your tests
s
Oh I have no problem running tests. Gradle works fine. The problem is junie does not run the tests even after telling junie to use gradle. It ignores that guideline at least 70% of the time.
c
In my guidelines I have:
Copy code
Always run tests after each change. Always use one of the following commands, do not attempt to run tests any other way.
- `./gradlew assemble`: Compile everything.
- `./gradlew check`: Runs all tests.
and it respects it 🤔
🙏 1