Liking cljdoc? Tell your friends :D

kaocha.result


diff-test-result

(diff-test-result before after)

Subtract two clojure.test style summary maps.

Subtract two clojure.test style summary maps.
sourceraw docstring

failed-one?

(failed-one? {:kaocha.result/keys [error fail],
              :or {error 0, fail 0}})

Did this testable fail or error, does not recurse.

Did this testable fail or error, does not recurse.
sourceraw docstring

failed?

(failed? testable)

Did this testable, or one of its children, fail or error?

Did this testable, or one of its children, fail or error?
sourceraw docstring

sum

(sum & rs)

Sum up kaocha result maps.

Sum up kaocha result maps.
sourceraw docstring

testable-totals

(testable-totals testable)

Return a map of summed up results for a testable, including descendants.

Return a map of summed up results for a testable, including descendants.
sourceraw docstring

totals

(totals testables)

Return a map of summed up results for a collection of testables.

Return a map of summed up results for a collection of testables.
sourceraw docstring

totals->clojure-test-summary

(totals->clojure-test-summary totals)

Turn a kaocha-style result map into a clojure.test style summary map.

Turn a kaocha-style result map into a clojure.test style summary map.
sourceraw docstring

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

× close