cljs.test/run-all-tests

macrosince v0.0-2496 clojure.test/run-all-testsEdit
(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.
Source code @ clojurescript:src/main/cljs/cljs/test.cljc
(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 %))))))))