For running unit tests using Kaocha
For running unit tests using Kaocha
(coverage args)
Runs unit tests, calculating coverage. Arguments are passed directly to cloverage.
Runs unit tests, calculating coverage. Arguments are passed directly to cloverage.
(junit {:keys [output config] :or {output "junit.xml"}})
Runs unit tests once, outputs to junit file
Runs unit tests once, outputs to junit file
(lint {:keys [dirs] :or {dirs ["src"]}})
Runs the clj-kondo linter on the src dir
Runs the clj-kondo linter on the src dir
(passed? r)
True if the kaocha test result is successful
True if the kaocha test result is successful
(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.
(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.
cljdoc builds & hosts documentation for Clojure/Script libraries
Ctrl+k | Jump to recent docs |
← | Move to previous article |
→ | Move to next article |
Ctrl+/ | Jump to the search field |