ClojureDocs

Nav

Namespaces

with-test

clojure.test

Available since 1.1
  • (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.