Skip to main content

with-test

macrov1.1

clojure.test/with-test

Available in:BBCLJ
(with-test [definition & body])
Takes any definition form (that returns a Var) as the first argument. Remaining body goes in the :test metadata function for that Var. When *load-tests* is false, only evaluates the definition, ignoring the tests.

No examples yet. Be the first to add one!