Liking cljdoc? Tell your friends :D

monkey.test

For running unit tests using Kaocha

For running unit tests using Kaocha
raw docstring

allclj

(all _)

Run all unit tests

Run all unit tests
sourceraw docstring

coverageclj

(coverage args)

Runs unit tests, calculating coverage. Arguments are passed directly to cloverage.

Runs unit tests, calculating coverage.  Arguments are passed directly
to cloverage.
sourceraw docstring

default-coverage-argsclj

source

junitclj

(junit {:keys [output config] :or {output "junit.xml"}})

Runs unit tests once, outputs to junit file

Runs unit tests once, outputs to junit file
sourceraw docstring

lintclj

(lint {:keys [dirs] :or {dirs ["src"]}})

Runs the clj-kondo linter on the src dir

Runs the clj-kondo linter on the src dir
sourceraw docstring

passed?clj

(passed? r)

True if the kaocha test result is successful

True if the kaocha test result is successful
sourceraw docstring

to-exitclj

(to-exit r)

Exits the VM with exit code 0 on success, 1 on failure.

Exits the VM with exit code 0 on success, 1 on failure.
sourceraw docstring

watchclj

(watch args)

Watches unit tests, for TDD. Any arguments are passed on to Kaocha config.

Watches unit tests, for TDD.  Any arguments are passed on to Kaocha config.
sourceraw docstring

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

× close