Closed kopper closed 3 years ago
Where are you setting the -D property? In the run configuration?
Yup, run configuration for "Run with Kotest".
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.
I am trying to use tags in IntelliJ plugin by specifying VM options:
-Dkotest.tags=!IntegrationTest
. I want to prevent running and instantiating integration test specs. The result is that all tests except the ones tagged withIntegrationTest
are run, which is :thumbsup: but all specs are instantiated despite the docs https://kotest.io/tags/ say otherwise. I debugged a bit and I think the reason is in the way IntelliJ plugin executesio.kotest.engine.launcher.MainKt
. It doesn't pass any --tags, --include-tags, --exclude-tags as args and as a result no specs are actually excluded.Which version of Kotest are you using Kotest 4.2.6 IntelliJ plugin 4.8.3