(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.
(derive! tag parent)
Add a parent/child relationship to kaocha's keyword hierarchy.
Add a parent/child relationship to kaocha's keyword hierarchy.
(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.
(fail-type? event)
Fail-type types indicate a failing test.
Fail-type types indicate a failing test.
(group? testable)
Intermediary testables are called groups, e.g. a namespace of tests.
Intermediary testables are called groups, e.g. a namespace of tests.
(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.
(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.
(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.
(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.
(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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close