Anyone ever have an issue where the first run with --watch omits a namespace, while the test plan under the same settings says it should be included, and subsequent runs in the watch loop pick up the namespace?
EDIT: Diagnosed, issue filed.
In the first run, com.colinphill.extra-special is omitted, but in the second run, after a whitespace change in another file, it is included. Where :env/dev holds my test dependencies and :run/test just pulls in Kaocha and sets :main-opts ["-m" "kaocha.runner"]:
The test plan with the same options shows the omitted namespace:
> clj -M:env/dev:run/test --watch --print-test-plan | rg --regexp "#'([^\s,]+)" --replace '(var $1)' --passthrough | jet --pretty --edn-reader-opts '{:default tagged-literal}' --query ':kaocha.test-plan/tests (map :kaocha.test-plan/tests) (map (map :kaocha.testable/id))'
((:com.colinphill.extra-special.impl.test
:com.colinphill.extra-special.impl.ns
:com.colinphill.extra-special.impl.def
:com.colinphill.extra-special.impl.test.kaocha
:com.colinphill.extra-special
:com.colinphill.extra-special.impl.dialect
:com.colinphill.extra-special.unicode
:com.colinphill.extra-special.impl.extra-spectral
:com.colinphill.extra-special.unicode2))Discovered the cause and filed an issue: https://github.com/lambdaisland/kaocha/issues/390
tl;dr: I did some odd things and suffered the consequences for my heterodoxy
I'll take a look, thanks!
Possible fix: https://github.com/lambdaisland/kaocha/pull/392