Fork me on GitHub
#kaocha
<
2020-04-09
>
charch17:04:55

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

plexus15:04:26

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?

Braden Shepherdson18:04:18

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

👍 4
charch18:04:11

Cool, I will search further, thank you

Braden Shepherdson18:04:28

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