Liking cljdoc? Tell your friends :D
Mostly cljs.
Exceptions indicated.

montoux.test.core


default-envcljs

(default-env & reporters)

Creates a default test environment that supports dispatching to multiple reporters.

Creates a default test environment that supports dispatching to multiple reporters.
raw docstring

deftestscljmacro

(deftests sym)

Returns a function that consumes a test env and returns a list of fns that can be passed to cljs.test/run-block. Unlike cljs.test/run-tests-block, this runner filters test namespaces at runtime using a function instead of relying on compile-time filtering based on a regex. Provide a namespace symbol filter predicate by adding :filter to env.

Returns a function that consumes a test env and returns a list of fns that can be passed to `cljs.test/run-block`.
Unlike `cljs.test/run-tests-block`, this runner filters test namespaces at runtime using a function instead of relying
on compile-time filtering based on a regex. Provide a namespace symbol filter predicate by adding `:filter` to env.
raw docstring

run-testscljs

(run-tests tests)
(run-tests tests env)

Similar to cljs.test/run-all-tests, but with support for:

  • runtime filtering via :filter
  • multiple reporters via :reporters.
Similar to cljs.test/run-all-tests, but with support for:
* runtime filtering via `:filter`
* multiple reporters via `:reporters`.
raw docstring

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

× close