On Oct 12, 2010, at 8:59 AM, Kyle R. Burton wrote:
> 
> Does Midje integration with the usual test lifecycle for maven and Leiningen?

If you type 'lein test', it'll run the Midje tests, but it doesn't hook into 
the reporting system (so you get 0 tests run, 0 failures reported). I want to 
see if I can live on top of lazytest's reporting.

If you want normal reporting, you can wrap Midje "facts" in deftest:

(deftest numerical-reverser-tests
  (fact
    (numerical-reverser 103) => 301
    (provided 
      (string-reverser "103") => "301")))

I do that in Midje's tests for itself. 

-----
Brian Marick, independent consultant
Mostly on agile methods with a testing slant
Author of /Programming Cocoa with Ruby/
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