Library for checking absence of assertions in clojure.test tests.
naw.core in your test namespace(s).
Note that in
a-test no assertions are made, but
another-test has one assertion. So we expect a warning only about
(:require [clojure.test :refer [deftest testing is]]
(testing (is 1)))
When executing the tests, the following warning will get printed to
WARNING: no assertions made in test a-test
- This library works with Clojure and ClojureScript.
- kaocha has this as a built-in feature