cljs.test just without all those damn macros requires the shadow.build.cljs-hacks deftest mod which calls shadow.test/register-test
cljs.test just without all those damn macros requires the shadow.build.cljs-hacks deftest mod which calls shadow.test/register-test
(run-all-tests)
(run-all-tests env)
(run-all-tests env re)
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.
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.
(run-tests)
(run-tests env)
(run-tests env namespaces)
(run-tests-block env namespaces)
Like test-vars, but returns a block for further composition and later execution.
Like test-vars, but returns a block for further composition and later execution.
(test-all-vars ns)
Calls test-vars on every var with :test metadata interned in the namespace, with fixtures.
Calls test-vars on every var with :test metadata interned in the namespace, with fixtures.
(test-all-vars-block ns)
(test-ns ns)
(test-ns env ns)
If the namespace defines a function named test-ns-hook, calls that. Otherwise, calls test-all-vars on the namespace. 'ns' is a namespace object or a symbol.
Internally binds report-counters to a ref initialized to initial-report-counters.
If the namespace defines a function named test-ns-hook, calls that. Otherwise, calls test-all-vars on the namespace. 'ns' is a namespace object or a symbol. Internally binds *report-counters* to a ref initialized to *initial-report-counters*.
(test-ns-block env ns)
Like test-ns, but returns a block for further composition and later execution. Does not clear the current env.
Like test-ns, but returns a block for further composition and later execution. Does not clear the current env.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close