kotest-intellij-plugin
kotest-intellij-plugin copied to clipboard
Not using gradle when running a simple spec
Issue
I have gradle selected as runner for my tests. When I run the test file as a whole, then it is using gradle as expected
But when I run an individual spec it uses the kotest runner instead of gradle.
Expected behaviour
Run individual spec using gradle
Here is a screen recording explaining the problem
https://github.com/kotest/kotest-intellij-plugin/assets/528317/a8fa09b9-2ddd-431e-9113-7d1829eebcf2
Here is a sample repository to reproduce the issue:
https://github.com/roughnote/kotest-gradle-sample
Due to this issue, I can run whole tests in class (with the arrow at the class name) but not individual tests.
Kotest runner cannot find my JDK (No JDK specified), but Gradle runner can.
Gradle doesn't support nested tests. So if we do that, it won't actually find the tests you want.
This will be the default in 6.0
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Would it be possible to open an issue on gradle's side to request such a feature? Or is there already a feature request for that? I would do it, but I don't really know what to request exactly.