Last active
December 15, 2016 22:21
-
-
Save Medeah/2bc6e92b86ae7e8abc14 to your computer and use it in GitHub Desktop.
Pending tests in clojure.test
This file contains 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