With testing frameworks, there's nothing like trying all of them with a medium-sized code base. I use both clojure.test and Midje for clj-webdriver, but have recently used (and enjoyed) Expectations to test a parser/code-generator.
Midje is the most batteries-included of the three and provides more facilities for top-down testing. On Thursday, August 9, 2012 4:20:49 AM UTC-4, Jay Fields wrote: > > If you like Midje you should probably stick with it. The two libraries > were designed with very different goals in mind. Midje is much more > polished and targeted adoption early on. expectations was created for > testing the application I was working on, made available on github, but > never really promoted. If it suits your testing style, you should love it. > If not, you'll likely hate it - it's very opinionated. > > Check out the github page and look at the success examples that are > linked. That will cost you less than 5 minutes, and should give you all the > information you need to decide which you prefer. > > Cheers, Jay > > Sent from my iPhone > > On Aug 8, 2012, at 9:28 PM, keeds <ake...@gmail.com <javascript:>> wrote: > > Silly question but how is Expectations better or different from Midje? > I'm just starting out with Midje and was just wondering? > > Thanks, > Andrew > > On Monday, 6 August 2012 19:43:18 UTC+1, Sean Corfield wrote: >> >> lein-expectations - the plugin for running Jay Fields' awesome >> Expectations testing library - has been updated for Leiningen 2.0. >> >> If you are using Leiningen 1.x, continue to use lein-expectations 0.0.5. >> >> If you are on Leiningen 2.x, you should use lein-expectations 0.0.7 so >> that exit on test failure is handled correctly. >> >> 0.0.6 added a partial fix for exit codes in Leiningen 2.0 but it >> didn't work properly with "with-profile". After discussions with Phil >> H about exit status codes, the logic was changed / simplified for the >> 0.0.7 release. >> -- >> Sean A Corfield -- (904) 302-SEAN >> An Architect's View -- http://corfield.org/ >> World Singles, LLC. -- http://worldsingles.com/ >> >> "Perfection is the enemy of the good." >> -- Gustave Flaubert, French realist novelist (1821-1880) >> > -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to clo...@googlegroups.com <javascript:> > Note that posts from new members are moderated - please be patient with > your first post. > To unsubscribe from this group, send email to > clojure+u...@googlegroups.com <javascript:> > For more options, visit this group at > http://groups.google.com/group/clojure?hl=en > > -- 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