kaocha

Official support channel: https://clojureverse.org/c/projects/kaocha
charch 2020-04-09T17:47:55.101800Z

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 ()}

plexus 2020-04-10T15:05:26.106800Z

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?

2020-04-09T18:23:18.102200Z

that sounds like you're missing a required parameter to configure kaocha-cloverage.

👍 1
2020-04-09T18:23:28.102500Z

it doesn't know which namespaces to instrument and report coverage for.

2020-04-09T18:23:47.102800Z

@nicholas.charchut ^

charch 2020-04-09T18:24:11.103Z

Cool, I will search further, thank you