This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-12-28
Channels
- # announcements (5)
- # asami (34)
- # babashka (15)
- # beginners (222)
- # calva (5)
- # cider (2)
- # circleci (4)
- # cljfx (11)
- # clojure (34)
- # clojure-europe (10)
- # clojure-nl (2)
- # clojure-taiwan (2)
- # clojure-uk (5)
- # clojurescript (27)
- # conjure (8)
- # cryogen (11)
- # cursive (11)
- # datomic (7)
- # depstar (6)
- # fulcro (29)
- # graalvm (2)
- # joker (3)
- # kaocha (9)
- # nrepl (4)
- # off-topic (9)
- # pathom (1)
- # shadow-cljs (11)
- # spacemacs (4)
- # sql (1)
- # tools-deps (12)
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.
missing a colon ?
clojure -M:test
just tried the colon, still no tests...
any idea why?
were you able to get this working? I can try and take a look if not
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