Liking cljdoc? Tell your friends :D

kaocha.plugin.alpha.xfail

This plugin inverses fail & pass for tests marked with the ^:kaocha/xfail metadata. A failing test can be marked with this metadata, and will now be considered passing. Once the test passes again, it fails.

Note that this current implementation inverses each assertion in turn, so if you have multiple assertions in a xfail test, then they all must fail for the test to pass.

This plugin inverses fail & pass for tests marked with the ^:kaocha/xfail
metadata. A failing test can be marked with this metadata, and will now be
considered passing. Once the test passes again, it fails.

Note that this current implementation inverses each assertion in turn, so if
you have multiple assertions in a xfail test, then they all must fail for the
test to pass.
raw docstring

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

× close