• (it desc & forms)
Create a test function named after desc, recording
the context in metadata

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:48 top

(defmacro it
  "Create a test function named after desc, recording
   the context in metadata"
  [desc & forms]
  `(defn! ~(with-meta (test-function-name desc) (test-function-metadata desc forms))
     "Generated test from the it macro."
     []
     ~@forms))
Vars in circumspec/it: defmacro with-meta apply concat list seq vector
Used in 0 other vars

Comments top

No comments for it. Log in to add a comment.