A small library for power assertions support in Clojure.
A small library for power assertions support in Clojure.
(are argv expr & args)
Drop-in replacement for the clojure.test/are macro.
Drop-in replacement for the clojure.test/are macro.
(assert e)
(assert e msg)
Power assert macro. Like clojure.core/assert but the thrown AssertionError message contains the expression examined.
Power assert macro. Like clojure.core/assert but the thrown AssertionError message contains the expression examined.
(examine expr)
Prints expression to out. Returns value of expression.
Prints expression to *out*. Returns value of expression.
(examine-str expr)
Returns tuple of evaluated value and examined string.
Returns tuple of evaluated value and examined string.
(is expr)
(is expr msg)
Drop-in replacement for the clojure.test/is macro.
Drop-in replacement for the clojure.test/is macro.
(verify e)
(verify e msg)
Like assert but throws ExceptionInfo when condition does not hold and can not be turned off with assert var.
Like assert but throws ExceptionInfo when condition does not hold and can not be turned off with *assert* var.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close