@rickmoynihan I feel like this has been discussed before, I'm open to having that configurable, so e.g. you can say
:default-suites [:unit :integration]
and have bin/kaocha
without suite arguments run those two only. PR welcome. While this would make sense in core you could also do it as a plugin, so you can try it out without having to wait on anyone. Always happy to provide feedback if you decide to take a stab at this.@magnars I'm sorry I missed your stream, I've been in offline holiday mode the past week. Do you record/publish your streaming sessions?
Hi all, I come from GitHub Issue 30[1], I'm having the same issue where it's saying --focus-meta
is an unknown option. I've confirmed that I'm using the right version of tools.cli
. This is my command, I'm running it like this for now to ensure that everything aligns
lein with-profile +test run -m kaocha.runner --focus-meta :integration
I got it running once, it was nice 🙂
[1] https://github.com/lambdaisland/kaocha/issues/30The filter plugin is always included
That's what the documentation said but the commands above wouldn't work without me explicitly including the plugin.
that's strange... if you have a public repo that reproduces this I'm happy to have a look
Do I have to use the shorthand config? e.g. #kaocha/v1 {}
I'll create a small example see if I can replicate this.
yes, unless you provide a complete and normalized configuration
Ah that makes much more sense, I'll add the reader macro. I'm not a power user 🙂
I was missing an argument, I had to specify the test ID 😅 The corrected command should look like:
lein with-profile +test run -m kaocha.runner --focus-meta :integration :unit
Also, I believe the filter plugin is necessary :kaocha.plugin/filter
.