I would push it clojars, I don't think that's overkill. For deps.edn user's a git repo or even a gist would be enough, but then you're excluding lein/boot users.
Just make sure the namespace/plugin name starts with something else than kaocha.
, so it's clear that it's third party
ah interesting it looks like if I don't specify a test-id kaocha will just pick the last one defined in tests.edn
if I just run the command with --focus
for example
I guess I always have to specify the test id
not sure what you're referring to @andrea.crotti... in tests.edn you can leave off the test id, then it will default to :unit
(so you should only omit it at most once). If you don't put a test suite name on the command line it will run all suites
ah right ok it's running them all then
running all the suites when you specify something with --focus
seems a bit unnecessary though
but I guess it would not know what to run if I don 't specify the test id of course
yes, exactly... there's always this kind of chicken and egg problem. This becomes especially problematic when there's significant setup/teardown for a suite, as with kaocha-cljs/kaocha-cljs2, since we can't filter until we know the test plan...
yeah maybe it should just error if you try to --focus
without passing a test-id?
not sure that would ever what you want if you have multiple test ids?
yeah I tihnk it would be reasonable for that to be an error
I'll open an issue to keep track of it
this seems to work locally https://github.com/lambdaisland/kaocha/pull/180
if that's a reasonable approach
not sure if only --focus should throw an error or also --focus-meta skip/skip-meta