Issues with running individual Kotests from Intell...
# kotest
r
Issues with running individual Kotests from IntelliJ in a test class. I setup a new Gradle/Kotlin project in IntelliJ with the Kotest plugin and Kotest 5.0.1 dependencies in the build.gradle. I created a new test class with two tests using StringSpec (I tried FunSpec too). • When I run the test class, both tests run successfully. • When I run the first test, it runs successfully. • When I attempt to run just the 2nd test, I get the message "both tests filtered out" or something like that. I'm kicking off these tests in the IDE using the Kotest plugin panel. Has anyone seen anything like this before? I can provide more details. For now, I've moved on and removed Kotest, and everything is working as expected using pure JUnit5.
s
Can you share the name of the two tests and the spec class
so we can create a stub file with the same structure
r
Hey @sam I'm happy to create something and put it on GitHub if that's helpful, just lmk.
s
yes pls
r
OK, I'll put something up later today, thanks!
👍🏻 1
Hey @sam I just recreated the FunSpec tests that I was having trouble with in the IDE last night, and they are all working fine now 🤷‍♂️ . So anyway, sorry for the trouble, I'll report back if it happens again. Maybe my computer just needed a good reboot, LOL.
s
hah well nice that it's working
🙌 1