Not an April Fool's joke!  New lib "clojure.contrib.test-is.tap" adds
Test Anything Protocol (TAP) support to test-is.  Use it like this:

;;   (use 'clojure.contrib.test-is)
;;   (use 'clojure.contrib.test-is.tap)
;;
;;   (with-tap-output
;;    (run-tests 'my.cool.library))

Warning: this doesn't work with clojure.contrib.test-clojure/run.  I'm
not sure why.  I think it has something to do with how test-clojure/
run loads files.  If anyone can shed some light on that, I'd
appreciate it.  Loading the files individually and calling
(with-tap-output (run-all-tests))
works correctly.

The idea for TAP output came from Meikel Brandmeyer's ClojureCheck
library.

-Stuart Sierra
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to