Re: Midje: a different slant on clojure testing

2010-12-16 Thread .Bill Smith
Thank you for sharing Midje with us. I too would like to hear how it relates to clojure.test. -- 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

Re: Midje: a different slant on clojure testing

2010-12-16 Thread Brian Marick
On Dec 16, 2010, at 12:21 AM, Shantanu Kumar wrote: 1. Is there any example app that demonstrates how to use Midje? The introduction to the basic feature set is here: https://github.com/marick/Midje/blob/master/examples/sweet-examples/basic/test/basic/core_test.clj As a simple example, I

Re: Midje: a different slant on clojure testing

2010-12-16 Thread Brian Marick
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

Midje: a different slant on clojure testing

2010-12-15 Thread Brian Marick
I'd like to formally announce Midje, a testing framework for Clojure that emphasizes ease of use, readability, and relationships among functions. https://github.com/marick/Midje Midje is at 0.8.1. I'd bump it to 1.0. but I don't want to freeze the interface to some of the newer features

Re: Midje: a different slant on clojure testing

2010-12-15 Thread Ken Wesson
On Wed, Dec 15, 2010 at 6:37 PM, Brian Marick mar...@exampler.com wrote: I'd like to formally announce Midje, a testing framework for Clojure that emphasizes ease of use, readability, and relationships among functions.    https://github.com/marick/Midje Midje is at 0.8.1. I'd bump it to

Re: Midje: a different slant on clojure testing

2010-12-15 Thread Brian Marick
On Dec 15, 2010, at 6:05 PM, Ken Wesson wrote: Midje makes it easy to use functions other than equality to check results: (facts (first (primes-greater-than-2)) = odd? (some-complicated-function) = (in-any-order [1 2 3])) So, a predicate is called on the result instead of

Re: Midje: a different slant on clojure testing

2010-12-15 Thread Shantanu Kumar
This looks really interesting. Two obligatory questions: 1. Is there any example app that demonstrates how to use Midje? 2. Why would I use Midje instead of clojure.test? (Perhaps you can also blog about it with an example using clojure.test and Midje.) Regards, Shantanu On Dec 16, 7:01 am,