On Dec 16, 2010, at 12:21 AM, Shantanu Kumar wrote:

> 2. Why would I use Midje instead of clojure.test? 


Oh, one other thing: you can mix and match Midje and Clojure.test tests. Midje 
uses the clojure.test reporting mechanism. You can start adding Midje tests to 
your existing test files and change old tests to the new format at your leisure.

(The downside is that if you want the test summaries to be right, you have to 
wrap the Midje tests in #'deftest. Otherwise fact successes and failures aren't 
counted when you do 'lein test'.)

-----
Brian Marick, Artisanal Labrador
Contract programming in Ruby and Clojure
Author of /Ring/ (forthcoming; sample: http://bit.ly/hfdf9T)
www.exampler.com, www.exampler.com/blog, www.twitter.com/marick

-- 
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
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to