Hi there! I just noticed something that really ann...
# kotest
o
Hi there! I just noticed something that really annoys and distracts me... when running "All tests..." from the context menu in IntelliJ clicking on the test source set, NOT ALL tests run, only the JUnit tests, but all spec tests from Kotest are completely ignored. In my project, I have a big mix of these two styles - due to historic reasons. Well, this USED to work just fine before, but today I noticed that this method to run all tests actually does not. When using grade build, everything just works fine, it is ONLY within IntelliJ... Any hints? What has changed in the past weeks? Kotest 6? New IntelliJ version? I have everything on the latest versions as of today! I got the Kotest plugin installed in IntelliJ. Thanks for any hints - especially how I can make sure this does not happen unnoticed!
a
hello 🙂 just for my understanding, when you say from the context menu of IntelliJ, do you mean this?
which I assume in your case might look like this
As a first try, although it goes against the plugin setup guide, can you try to set
Run Tests Using
to
Gradle
and see if it helps? I had to do this in an old project where we had both Junit and Kotest setup
l
I have the same problem, although in opposite direction, since updating to Kotest 6: "Run Tests" from the context menu runs only the Kotest tests and ignores JUnit tests.
And I don't have the option "Run tests using"
I'm on Android Studio though