Last active
December 15, 2016 22:21
Pending tests in clojure.test
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; This is free and unencumbered software released into the public domain. | |
;; Assume nothing works, and you may be pleasantly surprised; and when it breaks, you get to keep both pieces. | |
;; A Simple macro that enables you to change your testing groups to pending | |
(defmacro pending [name & body] | |
(let [message (str "\n" name " is pending !!")] | |
`(testing ~name (println ~message)))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment