Has anyone been able to successfully run the kaocha-cloverage
plugin for a Clojure CLI project? I get the following error and I don't know how to resolve it.
Loading namespaces: ()
Test namespaces: (:unit)
Execution error at lambdaisland.cloverage.coverage/run-main (coverage.clj:229).
No namespaces selected for instrumentation using {:ns-regex (), :ns-exclude-regex ()}
that's a bit strange @nicholas.charchut, I use it on clojure CLI projects all the time, and it's set up to get those parameters from your regular tests.edn setup. What does your tests.edn look like?
that sounds like you're missing a required parameter to configure kaocha-cloverage.
it doesn't know which namespaces to instrument and report coverage for.
Cool, I will search further, thank you