kaocha

Official support channel: https://clojureverse.org/c/projects/kaocha
onetom 2021-03-22T02:04:49.010800Z

is there some built-in way to make kaocha.runner return a non-zero exit code if there were 0 tests ran?

onetom 2021-03-22T02:08:48.012Z

we have encountered it twice within 2 weeks in 2 different projects that the CI was misconfigured and reported false positive test results, because 0 tests ran.

lread 2021-03-22T11:07:23.014400Z

@onetom, I would prefer a non zero exit in this scenario as well. But... it is also pretty easy to write https://github.com/lread/test-doc-blocks/blob/65bddd419c29f0e3ef8146aa11111df12bd7c1fd/tests.edn#L12 to achieve this.

1👍
onetom 2021-03-22T11:34:41.016300Z

thanks! I just heard, my colleague actually created a GitHub issue about this: https://github.com/lambdaisland/kaocha/issues/211 I will add your suggestion there.