cljs.test/run-all-tests
(run-all-tests)
(run-all-tests re)
(run-all-tests re env)
Source docstring:
Runs all tests in all namespaces; prints results.
Optional argument is a regular expression; only namespaces with
names matching the regular expression (with re-matches) will be
tested.
(defmacro run-all-tests
([] `(run-all-tests nil (empty-env)))
([re] `(run-all-tests ~re (empty-env)))
([re env]
`(run-tests ~env
~@(map
(fn [ns] `(quote ~ns))
(cond->> (ana-api/all-ns)
re (filter #(re-matches re (name %))))))))