Liking cljdoc? Tell your friends :D

scry.core

Public entry point for scry, an in-process test runner for AI agents.

run executes clojure.test tests in-process and returns an inspectable result map; the most recent result is also retained in last-run so it can be inspected interactively after the run. The kaocha adapter lives in scry.kaocha (loaded only when the :kaocha alias is present).

Public entry point for scry, an in-process test runner for AI agents.

`run` executes clojure.test tests in-process and returns an inspectable
result map; the most recent result is also retained in `last-run` so it can
be inspected interactively after the run. The kaocha adapter lives in
`scry.kaocha` (loaded only when the :kaocha alias is present).
raw docstring

failed-testclj

(failed-test var-sym)
(failed-test result var-sym)

Return the failure/error entry for fully-qualified test var symbol var-sym.

Return the failure/error entry for fully-qualified test var symbol `var-sym`.
raw docstring

failuresclj

(failures)
(failures result)

Return failure/error entries of result (defaults to the last run).

Prefers the compatibility :failures collection when present and otherwise filters canonical :results. Returns an empty vector when the selected result format omits both collections.

Return failure/error entries of `result` (defaults to the last run).

Prefers the compatibility :failures collection when present and otherwise
filters canonical :results. Returns an empty vector when the selected result
format omits both collections.
raw docstring

last-resultclj

(last-result)

Return the most recent run result, or nil if nothing has run.

Return the most recent run result, or nil if nothing has run.
raw docstring

last-runclj

Atom holding the most recent run result, for post-run inspection.

Atom holding the most recent run result, for post-run inspection.
raw docstring

outputclj

(output var-sym)
(output result var-sym)

Return {:out s :err s} captured for failed test var var-sym, when present.

Return {:out s :err s} captured for failed test var `var-sym`, when present.
raw docstring

report-stringclj

(report-string)
(report-string result)

Render a human/agent-readable report of result (defaults to last run).

Render a human/agent-readable report of `result` (defaults to last run).
raw docstring

runclj

(run)
(run opts)

Run clojure.test tests in-process and return the inspectable result map.

See scry.clojure-test/run for options. The result is also stored in last-run.

Run clojure.test tests in-process and return the inspectable result map.

See `scry.clojure-test/run` for options. The result is also stored in
`last-run`.
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