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.
(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)
(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)
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 |