Fork me on GitHub
#testing
<
2018-09-22
>
dottedmag17:09:27

Are there coverage tools that do not require Leiningen? I have tried running cloverage from deps.edn, but all I got is

Loading namespaces:  ()
Test namespaces:  ()
Exception in thread "main" java.lang.RuntimeException: Cannot instrument namespaces; there is a cyclic dependency
– not really helpful.

dottedmag17:09:22

Oh, nevermind, it just needs to be told where the source and tests are.

dottedmag17:09:21

For the reference, that's how it works:

:cover
  {:extra-deps {cloverage {:mvn/version "1.0.13"}}
   :extra-paths ["test"]
   :main-opts ["-m" "cloverage.coverage" "-p" "src" "-s" "test"]}