Skip to content

Instantly share code, notes, and snippets.

@Medeah
Last active December 15, 2016 22:21
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Medeah/2bc6e92b86ae7e8abc14 to your computer and use it in GitHub Desktop.
Save Medeah/2bc6e92b86ae7e8abc14 to your computer and use it in GitHub Desktop.
Pending tests in clojure.test
;; 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