Liking cljdoc? Tell your friends :D

volley.testable

Kaocha's data shapes for hooks: the testables of namespaces and vars, their result counts, and the test plan. Pure, and kept apart from volley.hooks so that a worker can build them without loading the parent's run-state code.

Kaocha's data shapes for hooks: the testables of namespaces and vars,
their result counts, and the test plan. Pure, and kept apart from
`volley.hooks` so that a worker can build them without loading the
parent's run-state code.
raw docstring

ns-testableclj

(ns-testable ns-sym)

The testable of namespace ns-sym before it is loaded (kaocha.type.ns/->testable).

The testable of namespace `ns-sym` before it is loaded
(`kaocha.type.ns/->testable`).
sourceraw docstring

test-planclj

(test-plan kaocha-cfg suites)
(test-plan kaocha-cfg suites result-key)

Kaocha's test plan shape: kaocha-cfg with :kaocha/tests replaced by :kaocha.test-plan/tests (or result-key) holding suites.

Kaocha's test plan shape: `kaocha-cfg` with `:kaocha/tests` replaced by
`:kaocha.test-plan/tests` (or `result-key`) holding `suites`.
sourceraw docstring

var-testableclj

(var-testable ns-sym var-sym var-meta)

The testable of test var var-sym in ns-sym with metadata var-meta (kaocha.type.ns/-load); the shell adds :kaocha.var/var and :kaocha.var/test.

The testable of test var `var-sym` in `ns-sym` with metadata
`var-meta` (`kaocha.type.ns/-load`); the shell adds `:kaocha.var/var`
and `:kaocha.var/test`.
sourceraw docstring

with-resultclj

(with-result testable {:keys [pass fail error pending]})

testable with Kaocha's result counts.

`testable` with Kaocha's result counts.
sourceraw 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