testing-fn

circumspec

  • (testing-fn fn-name & forms)

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source circumspec/test.clj:41 top

(defmacro testing-fn
  [fn-name & forms]
  `(defn! ~(with-meta (test-function-name fn-name) (test-function-metadata (resolve fn-name) forms))
     "Generated test from the testing-fn macro."
     []
     ~@(map #(rewrite-=> fn-name %) forms)))
Vars in circumspec/testing-fn: defmacro map resolve with-meta apply concat list seq vector
Used in 0 other vars

Comments top

No comments for testing-fn. Log in to add a comment.