Liking cljdoc? Tell your friends :D

apollo-test.exec

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

*current-test-ns*clj


*current-test-var*clj


*emit-out*clj


*ns-paths*clj


*results-atom*clj


*verbose*clj


run-testsclj

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

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close