Test execution engine with clojure.test reporting hooks. Produces structured EDN output per LLMFriendlyOutput rule:
Test execution engine with clojure.test reporting hooks. Produces structured EDN output per LLMFriendlyOutput rule: - Each failure/error emits one EDN map - Passing tests produce no output (unless verbose) - Summary line at end with all counts - No ANSI, no progress bars, no decorative output.
(run-tests test-ns-syms opts)Requires and runs the given test namespace symbols one at a time. Returns a RunSummary-like map: {:total N :passed N :failed N :errored N :skipped-unchanged 0 :duration-ms N :failed-nss #{sym ...} :executed-nss [sym ...]}
Options: :verbose — if true, also emit EDN for passing tests :skipped — count of unchanged test namespaces skipped (for summary line) :fail-fast — if true, stop after the first namespace with failures :ns-paths — map of {ns-string -> file-path} for actual discovered paths :timeout-ms — per-namespace timeout in milliseconds (nil = no timeout)
Requires and runs the given test namespace symbols one at a time.
Returns a RunSummary-like map:
{:total N :passed N :failed N :errored N :skipped-unchanged 0 :duration-ms N
:failed-nss #{sym ...} :executed-nss [sym ...]}
Options:
:verbose — if true, also emit EDN for passing tests
:skipped — count of unchanged test namespaces skipped (for summary line)
:fail-fast — if true, stop after the first namespace with failures
:ns-paths — map of {ns-string -> file-path} for actual discovered paths
:timeout-ms — per-namespace timeout in milliseconds (nil = no timeout)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 |