Liking cljdoc? Tell your friends :D

kaocha.hierarchy


deferred?

(deferred? event)

Deferred events get propagated to clojure.test/report, but only during the summary step.

Deferred events get propagated to clojure.test/report, but only during the
summary step.
sourceraw docstring

derive!

(derive! tag parent)

Add a parent/child relationship to kaocha's keyword hierarchy.

Add a parent/child relationship to kaocha's keyword hierarchy.
sourceraw docstring

error-type?

(error-type? event)

Error-type indicates a test that failed because of an exception.

Error-type indicates a test that failed because of an exception.
sourceraw docstring

fail-type?

(fail-type? event)

Fail-type types indicate a failing test.

Fail-type types indicate a failing test.
sourceraw docstring

hierarchy

source

isa?

(isa? tag parent)
source

known-key?

(known-key? event)

Known keys don't get propogated to clojure.test/report, our own reporters already handle them.

Known keys don't get propogated to clojure.test/report, our own reporters
already handle them.
sourceraw docstring

leaf?

(leaf? testable)

This is a leaf in the tree of testables, i.e. it's an actual test with assertions, not just a container for tests.

:kaocha.type/var is a leaf type, :kaocha.type/ns is not.

This is a leaf in the tree of testables, i.e. it's an actual test with
assertions, not just a container for tests.

:kaocha.type/var is a leaf type, :kaocha.type/ns is not.
sourceraw docstring

pass-type?

(pass-type? event)

Error-type indicates a test that failed because of an exception.

Error-type indicates a test that failed because of an exception.
sourceraw docstring

pending?

(pending? event)

A test that generates a pending event will not be executed, but explicitly reported as being pending i.e. still needing to be implemented. Tests with the :kaocha/pending metadata will automatically generate a pending event.

A test that generates a pending event will not be executed, but explicitly
reported as being pending i.e. still needing to be implemented. Tests with
the :kaocha/pending metadata will automatically generate a pending event.
sourceraw docstring

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

× close