Marking tests as pending in clojure
I recently wrote a small macro to mark any tests in clojure as pending. It is very simple one. All you have to do is change deftest to deftest-pending. When you run all tests this macro instead of running those pending tests it will print name of pending tests.
Try it out
;; A Simple macro that enable to mark your test
;; to pending
(defmacro deftest-pending [name & body]
(let [message (str "\n========\n" name " is pending !!\n========\n")]
`(deftest ~name
(println ~message))))
