> There's a simple unit testing library in clojure.contrib.test-is. > Look at the source code comments there for examples of how you can > define tests.
Thanks Stuart S, I did a subversion grab of the source and well that looks extreemly useful. I'm a bit stuck on how to load test_is... I've added a tiny section to the wiki because I couldn't find any instructions on using contrib, and well I made a lot of mistakes along the way that other people might avoid: http://en.wikibooks.org/wiki/Clojure_Programming#clojure.contrib I think that it is set up correctly because I can "use fcase", but can't "use test_is". Maybe I don't need to explicitly or something, my brain is a bit fried atm please see below: user=> (use 'clojure.contrib.fcase) nil user=> (use 'clojure.contrib.test_is) java.lang.Exception: namespace 'clojure.contrib.test_is' not found after loading '/clojure/contrib/test_is/test_is.clj' --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---