cljs.spec.test
-
- function
([x])
A
Given a check result, returns an abbreviated version suitable for summary use.
function([x])
C
Run generative tests for spec conformance on vars named by sym-or-syms, a symbol or collection of symbols. If sym-or-sym...
macro([] [sym-or-syms] [sym-or-syms opts])
- macro
([[quote s :as qs] f spec opts])
Runs generative tests for fn f using spec and opts. See 'check' for options and return.
macro([f spec] [f spec opts])
Checks a var's specs using test.check. Optional args are passed through to test.check/quick-check: num-tests numb...
function([v & opts])
Given an opts map as per check, returns the set of syms that can be checked.
macro([] [opts])
- function
([] [opts])
D
- function
([f coll])
E
Given a symbol naming an ns, or a collection of such symbols, returns the set of all symbols naming vars in those nses.
macro([[quote ns-sym-or-syms]])
G
- function
([])
- function
([])
- function
([])
I
Instruments the vars named by sym-or-syms, a symbol or collection of symbols, or all instrumentable vars if sym-or-syms ...
macro([] [xs] [sym-or-syms opts])
- macro
([[quote s] opts])
Given an opts map as per instrument, returns the set of syms that can be instrumented.
function([] [opts])
R
Like clojure.test/run-all-tests, but runs test.check tests for all speced vars. Prints per-test results to *out*, and re...
macro([])
Like run-all-tests, but scoped to specific namespaces, or to *ns* if no ns-sym are specified.
macro([] [& ns-syms])
S
Given a collection of check-results, e.g. from 'check', pretty prints the summary-result (default abbrev-result) of each...
function([check-results] [check-results summary-result])
U
Undoes instrument on the vars named by sym-or-syms, specified as in instrument. With no args, unstruments all instrument...
macro([] [sym-or-syms])
- macro
([[quote s]])
W
Disables instrument's checking of calls, within a scope.
macro([& body])