This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-06-24
Channels
- # announcements (39)
- # aws (4)
- # babashka (18)
- # beginners (32)
- # biff (10)
- # calva (22)
- # clj-kondo (11)
- # clj-on-windows (2)
- # cljs-dev (20)
- # clojure (31)
- # clojure-europe (130)
- # clojure-norway (21)
- # clojure-spec (24)
- # clojure-uk (17)
- # clojured (2)
- # clojurescript (6)
- # conjure (1)
- # core-async (5)
- # cursive (11)
- # datalevin (1)
- # datomic (9)
- # emacs (24)
- # figwheel-main (42)
- # fulcro (6)
- # gratitude (6)
- # honeysql (8)
- # juxt (16)
- # kaocha (6)
- # lsp (235)
- # malli (2)
- # nbb (7)
- # off-topic (23)
- # other-languages (24)
- # pedestal (7)
- # reitit (6)
- # sci (1)
- # shadow-cljs (21)
- # tools-build (22)
- # tools-deps (57)
- # vim (24)
I have a test that wraps all of the is
calls in a doseq
: (deftest example (let [items (set-up)] (doseq [item items] (is (= xyz (func item))))))
. when I run the file, kaocha throws an error saying, "test ran without assertions". if I put in a dummy (is 1)
before the doseq
, kaocha stops failing the test. what's the best way to handle this?
if this is a bug, I can open a github issue for it!
Hmm that’s a good point. I’ll check
The collection is empty! Excellent observation. This has revealed a number of tests that “do nothing”.