CLJS test execution engine. Parallel to exec.clj — same interface and EDN output format. Sends test code to a CLJS prepl server and parses results back on JVM.
CLJS test execution engine. Parallel to exec.clj — same interface and EDN output format. Sends test code to a CLJS prepl server and parses results back on JVM.
(run-tests test-ns-syms opts)Runs CLJS test namespaces via prepl. Returns a RunSummary map identical in shape to apollo-test.exec/run-tests.
Options: :verbose — if true, emit EDN for passing tests (not yet supported for CLJS) :skipped — count of skipped test namespaces (for summary line) :fail-fast — if true, stop after the first namespace with failures :ns-paths — map of {ns-string -> file-path} :prepl-conn — prepl connection map from ensure-prepl! :timeout-ms — per-namespace timeout in milliseconds (nil = no timeout)
Runs CLJS test namespaces via prepl. Returns a RunSummary map identical
in shape to apollo-test.exec/run-tests.
Options:
:verbose — if true, emit EDN for passing tests (not yet supported for CLJS)
:skipped — count of skipped test namespaces (for summary line)
:fail-fast — if true, stop after the first namespace with failures
:ns-paths — map of {ns-string -> file-path}
:prepl-conn — prepl connection map from ensure-prepl!
: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 |