Runs a generated test namespace in the child JVM test-check/run-errors
starts. Kept out of the gen-tests process: the code is the model's, unread.
Runs a generated test namespace in the child JVM `test-check/run-errors` starts. Kept out of the gen-tests process: the code is the model's, unread.
(-main file ns-name result-file)Writes errors for file to result-file as EDN, then exits: the tests
may leave non-daemon threads running.
Writes `errors` for `file` to `result-file` as EDN, then exits: the tests may leave non-daemon threads running.
(errors file ns-sym)Load file, which defines ns-sym, and check it: fixtures first, then
the tests. Returns [line], empty when clean.
Load `file`, which defines `ns-sym`, and check it: fixtures first, then the tests. Returns [line], empty when clean.
(fixture-errors ns-sym)One error per var in ns-sym tagged ^{:schema s} whose value does not
match s. A test that passes on invented data proves nothing.
One error per var in `ns-sym` tagged ^{:schema s} whose value does not
match `s`. A test that passes on invented data proves nothing.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 |