CLOVIS
07/09/2024, 9:28 AMchristophsturm
07/12/2024, 8:49 AMdave08
07/16/2024, 9:32 AMCLOVIS
07/16/2024, 9:36 AMdave08
07/16/2024, 9:49 AMCLOVIS
07/16/2024, 9:53 AMIn prepared, currently one would need to run the whole suite every time, no?Yes 😕 This is mostly a tooling issue (the test framework knows which tests exist, but Gradle doesn't let it report them, which in turns means IntelliJ cannot see them). Kotest workarounds this by having their own IntelliJ plugin, but that's very brittle (e.g. you can't create your own specs). IMO, the way forward is to have this responsibility be in the build tool, but that's not going to happen with Gradle.
CLOVIS
07/16/2024, 9:55 AM--test
argument. But IntelliJ won't fill it in for you.
Also, the Kotest IntelliJ plugin is not aware of some Gradle features (IIRC it ignores java toolchains?) because it has its own run configuration type—so even when I'm working on a Kotest projet, I don't use the plugin, and thus can't run tests one-by-one anyway… so for me Prepared isn't worse in this situation, but I completely understand that it may be an important feature for many peopledave08
07/16/2024, 9:59 AM!
prefix to denote focus on a particular test, but you'd still need to run only that test class. Something like that could be one possibility together with --test
but still frustrating that Intellij can't auto-complete...
Most of the time, running too many tests makes it very hard to focus on the failing test that you're working on... (apart from taking more time to run)CLOVIS
07/16/2024, 10:00 AMdave08
07/16/2024, 10:08 AMCLOVIS
07/16/2024, 10:09 AM:suite
module, the website doesn't mention most of the features yet 👀)CLOVIS
07/16/2024, 10:11 AMdave08
07/16/2024, 10:17 AMdave08
07/16/2024, 10:18 AMCLOVIS
07/16/2024, 12:08 PMCLOVIS
07/16/2024, 12:10 PMCLOVIS
07/16/2024, 12:11 PMdave08
07/16/2024, 1:01 PM