Liking cljdoc? Tell your friends :D

apollo-test.runner

Incremental Clojure test runner. Entry point: (run opts) — invoked via clj -X:test.

Incremental Clojure test runner.
Entry point: (run opts) — invoked via clj -X:test.
raw docstring

default-cache-dirclj


default-optsclj

Default options for the runner.

Default options for the runner.
raw docstring

runclj

(run opts)

Run the test suite. This is the exec-fn entry point for clj -X:test. Calls System/exit with the appropriate exit code.

Options: :dirs — vector of test directory paths (default ["test"]) :src-dirs — vector of source directory paths (default ["src"]) :cache-dir — base cache directory path (default ".apollo-test") :force — if true, run all tests regardless of cache (default false) :verbose — if true, emit output for passing tests too (default false) :fail-fast — if true, stop after first namespace with failures (default true) :only — vector of namespace symbols to run (skips change detection, ignores cache) :platform — :clj or :cljs (default :clj) :timeout-ms — per-namespace timeout in milliseconds (default nil = no timeout)

Run the test suite. This is the exec-fn entry point for clj -X:test.
Calls System/exit with the appropriate exit code.

Options:
 :dirs       — vector of test directory paths (default ["test"])
 :src-dirs   — vector of source directory paths (default ["src"])
 :cache-dir  — base cache directory path (default ".apollo-test")
 :force      — if true, run all tests regardless of cache (default false)
 :verbose    — if true, emit output for passing tests too (default false)
 :fail-fast  — if true, stop after first namespace with failures (default true)
 :only       — vector of namespace symbols to run (skips change detection, ignores cache)
 :platform   — :clj or :cljs (default :clj)
 :timeout-ms — per-namespace timeout in milliseconds (default nil = no timeout)
raw docstring

run-testsclj

(run-tests opts)

Run the test suite and return the summary map. Does NOT call System/exit. Use this for programmatic invocation.

Options: :dirs — vector of test directory paths (default ["test"]) :src-dirs — vector of source directory paths (default ["src"]) :cache-dir — base cache directory path (default ".apollo-test") :force — if true, run all tests regardless of cache (default false) :verbose — if true, emit output for passing tests too (default false) :fail-fast — if true, stop after first namespace with failures (default true) :only — vector of namespace symbols to run (skips change detection, ignores cache) :platform — :clj or :cljs (default :clj) :timeout-ms — per-namespace timeout in milliseconds (default nil = no timeout)

Run the test suite and return the summary map. Does NOT call System/exit.
Use this for programmatic invocation.

Options:
 :dirs       — vector of test directory paths (default ["test"])
 :src-dirs   — vector of source directory paths (default ["src"])
 :cache-dir  — base cache directory path (default ".apollo-test")
 :force      — if true, run all tests regardless of cache (default false)
 :verbose    — if true, emit output for passing tests too (default false)
 :fail-fast  — if true, stop after first namespace with failures (default true)
 :only       — vector of namespace symbols to run (skips change detection, ignores cache)
 :platform   — :clj or :cljs (default :clj)
 :timeout-ms — per-namespace timeout in milliseconds (default 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