ClojureDocs

导航

命名空间

set-test

clojure.test

1.1 版之后推出
  • (set-test 名称 & 正文)
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.