kaocha

2022-06-24T21:00:17.064799Z

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?

imre 2022-06-27T08:47:01.736889Z

nice catch!

2022-06-25T11:05:59.853959Z

The collection is empty! Excellent observation. This has revealed a number of tests that “do nothing”.

2022-06-24T21:02:30.228779Z

if this is a bug, I can open a github issue for it!

plexus 2022-06-24T21:49:12.878699Z

Is items empty?

2022-06-24T22:32:25.337659Z

Hmm that’s a good point. I’ll check