Clojure - require all test namespaces in REPL?

Let's say I have the following namespaces:

(ns testsuite.bar ...) 

and

 (ns testsuite.foo ...) 

Is there a way to require / use all namespaces inside testsuite ?

Sort of:

 (use 'testsuite.*) (run-all-tests) 
+4
source share
1 answer

No, this is not supported. You must use / demand individually. However, (run-all-tests) does not require any test namespaces to be used or required, because it will automatically run all tests from all available (loaded) namespaces.

+3
source

All Articles