Liking cljdoc? Tell your friends :D

kaocha.hierarchy


deferred?clj

(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!clj

(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?clj

(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?clj

(fail-type? event)

Fail-type types indicate a failing test.

Fail-type types indicate a failing test.
sourceraw docstring

group?clj

(group? testable)

Intermediary testables are called groups, e.g. a namespace of tests.

Intermediary testables are called groups, e.g. a namespace of tests.
sourceraw docstring

hierarchyclj

source

isa?clj

(isa? tag parent)
source

known-key?clj

(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?clj

(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?clj

(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?clj

(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

suite?clj

(suite? testable)

Top level testables are called suites, e.g. a suite of clojure.test tests.

Top level testables are called suites, e.g. a suite of clojure.test tests.
sourceraw docstring

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

× close