I add kaocha to a fork of cognitect's transit-clj here, but found no tests https://github.com/myguidingstar/transit-clj/blob/master/deps.edn
clojure -Mtest
[]
0 tests, 0 assertions, 0 failures.
any idea why?
were you able to get this working? I can try and take a look if not
missing a colon ?
clojure -M:test
just tried the colon, still no tests...
A brief look at the unit test code, it doesnt seem to follow the namespace and function naming conventions. I assume you will need to configure kaocha and tell it where your tests are and maybe how to run them.. https://cljdoc.org/d/lambdaisland/kaocha/1.0.732/doc/3-configuration
ah, namespace conventions! I thought using deftest
is enough. I'll have a look. Thanks
its common to add -test
to the end of namespaces (and the names of the deftest functions).
Or configure kaocha with some the different ns-pattern used.
https://cljdoc.org/d/lambdaisland/kaocha/1.0.732/doc/3-configuration#example