Liking cljdoc? Tell your friends :D

expectations


*prune-stacktrace*clj/s

source

*report-counters*clj/s

source

*test-meta*clj/s

source

*test-name*clj/s

source

*test-var*clj/s

source

->failure-messageclj/s

(->failure-message {:keys [raw ref-data result expected-message actual-message
                           message list show-raw]})
source

->varsclj

(->vars ns)
source

add-watch-every-iref-for-updatesclj/s

(add-watch-every-iref-for-updates iref-vars)
source

ansiclj/s

(ansi code)
source

ansi-colorsclj/s

source

approximatelyclj/s

(approximately v)
(approximately v d)

Given a value and an optional delta (default 0.001), return a predicate that expects its argument to be within that delta of the given value.

Given a value and an optional delta (default 0.001), return a predicate
that expects its argument to be within that delta of the given value.
sourceraw docstring

by-kindclj/s

(by-kind vars)
source

colorclj/s

(color code & s)
source

colorize-choiceclj/s

(colorize-choice)
source

colorize-filenameclj/s

(colorize-filename s)
source

colorize-rawclj/s

(colorize-raw s)
source

colorize-resultsclj/s

(colorize-results pred s)
source

colorize-warnclj/s

(colorize-warn s)
source

compare-exprclj/smultimethod

source

contextcljmacro

(context [sym-kw val & contexts :as args] & forms)
source

create-contextclj/s

(create-context in-context-vars work)
source

CustomPredclj/s≠protocol

messageclj/s

(message e a str-e str-a)

expected-messageclj/s

(expected-message e a str-e str-a)

expect-fnclj/s

(expect-fn e a)

actual-messageclj/s

(actual-message e a str-e str-a)
source

disable-run-on-shutdownclj/s

(disable-run-on-shutdown)
source

doexpectcljmacro

(doexpect e a)
source

execute-varsclj/s

(execute-vars vars)
source

expandingcljmacro

(expanding n)
source

expectcljmacro

(expect a)
(expect e a)
source

expect-focusedcljmacro

(expect-focused a)
(expect-focused e a)
source

expectation-finishedclj/s

(expectation-finished a-var)
source

failclj/s

(fail test-name test-meta msg)
source

find-failuresclj/s

(find-failures the-seq)
source

find-successesclj/s

(find-successes the-seq)
source

finishedclj/s

(finished test-name test-meta)
source

freeze-timecljmacro

(freeze-time time & forms)
source

from-eachcljmacro

(from-each seq-exprs body-expr)
source

Functionallycljs

source

functionallyclj/s

(functionally expected-fn actual-fn)
(functionally expected-fn actual-fn difference-fn)

Given a pair of functions, return a custom predicate that checks that they return the same result when applied to a value. May optionally accept a 'difference' function that should accept the result of each function and return a string explaininhg how they actually differ. For explaining strings, you could use expectations/strings-difference.

Given a pair of functions, return a custom predicate that checks that they
return the same result when applied to a value. May optionally accept a
'difference' function that should accept the result of each function and
return a string explaininhg how they actually differ.
For explaining strings, you could use expectations/strings-difference.
sourceraw docstring

ignored-fnsclj/s

(ignored-fns {:keys [className fileName]})
source

inclj/s

(in n)
source

inc-report-counterclj/s

(inc-report-counter name)
source

initial-report-countersclj/s

source

localizeclj/smultimethod

source

morecljmacro

(more & expects)
source

more->cljmacro

(more-> & expect-pairs)
source

more-ofcljmacro

(more-of let-sexp & expect-pairs)
source

no-opclj/s

(no-op & _)
source

ns-finishedclj/s

(ns-finished a-ns)
source

pp-strclj/s

(pp-str e)
source

pruned-stack-traceclj/s

(pruned-stack-trace t)
source

raw-strclj/s

(raw-str [e a])
source

redef-statecljmacro

(redef-state namespaces & forms)
source

reminderclj/s

source

remove-watch-every-iref-for-updatesclj/s

(remove-watch-every-iref-for-updates iref-vars)
source

reportclj/smultimethod

source

run-all-testsclj

(run-all-tests)
(run-all-tests re)
source

run-testsclj

(run-tests namespaces)
source

run-tests-in-varsclj/s

(run-tests-in-vars vars-by-kind)
source

run-tests-on-shutdownclj/s

source

show-raw-choiceclj/s

(show-raw-choice)
source

side-effectscljmacro

(side-effects fn-vec & forms)
source

startedclj/s

(started test-name test-meta)
source

string-joinclj/s

(string-join s coll)
source

strings-differenceclj/s

(strings-difference e a)
source

summaryclj/s

(summary msg)
source

test-fileclj/s

(test-file {:keys [file line]})
source

test-nameclj/s

(test-name {:keys [line ns]})
source

test-varclj/s

(test-var v)
source

test-varsclj/s

(test-vars vars-by-kind ignored-expectations)
source

var-kindclj/s

(var-kind v)
source

warn-on-iref-updatesclj/s

(warn-on-iref-updates)
source

warn-on-iref-updates-booleanclj/s

source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close