Liking cljdoc? Tell your friends :D

shadow.test

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
raw docstring

run-all-testscljs

(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.
sourceraw docstring

run-testscljs

(run-tests)
(run-tests env)
(run-tests env namespaces)
source

run-tests-blockcljs

(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.
sourceraw docstring

test-all-varscljs

(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.
sourceraw docstring

test-all-vars-blockcljs

(test-all-vars-block ns)
source

test-nscljs

(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*.  
sourceraw docstring

test-ns-blockcljs

(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.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close