ClojureDocs

Nav

Namespaces

set-test

clojure.test

Available since 1.1
  • (set-test name & body)
Experimental.
Sets :test metadata of the named var to a fn with the given body.
The var must already exist.  Does not modify the value of the var.
 When *load-tests* is false, set-test is ignored.