Re: ANN lein-expectations 0.0.7

2012-08-14 Thread semperos
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

Re: ANN lein-expectations 0.0.7

2012-08-09 Thread Jay Fields
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 promo

Re: ANN lein-expectations 0.0.7

2012-08-08 Thread keeds
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 l

Re: ANN lein-expectations 0.0.7

2012-08-08 Thread Sean Corfield
On Wed, Aug 8, 2012 at 1:02 AM, Jay Fields wrote: > On Aug 8, 2012, at 1:09 AM, Sean Corfield wrote: >> expecting not to >> throw a specific exception is a bit trickier... > You can expect a specific exception easily, but not an exception message > easily... Yeah, I haven't thought up ways to ma

Re: ANN lein-expectations 0.0.7

2012-08-08 Thread Jay Fields
On Aug 8, 2012, at 1:09 AM, Sean Corfield wrote: > expecting not to > throw a specific exception is a bit trickier... You can expect a specific exception easily, but not an exception message easily... -- You received this message because you are subscribed to the Google Groups "Clojure" group

Re: ANN lein-expectations 0.0.7

2012-08-07 Thread Sean Corfield
On Tue, Aug 7, 2012 at 2:03 PM, Jay Fields wrote: > Sean, JUnit integration should be as simple as creating your own class that > looks like this one: Thanx. I guess I was expecting more "ceremony" would be required... -- Sean A Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.o

Re: ANN lein-expectations 0.0.7

2012-08-07 Thread Sean Corfield
On Tue, Aug 7, 2012 at 1:47 PM, Laurent PETIT wrote: > I can see that there's a thorough analysis of the framework in a blog > series, but which may or may not be up to date. At least, it seems a little > bit "dated" (in software duration time scales), but maybe it's still > accurate. Maybe update

Re: ANN lein-expectations 0.0.7

2012-08-07 Thread Jay Fields
Laurent, as far as I know, the blog entries are still up to date. I've only documented the stable features of expectations, thus they shouldn't have changed since the blog entires were written. That said, please do let me know if anything is incorrect. Sean, JUnit integration should be as simpl

Re: ANN lein-expectations 0.0.7

2012-08-07 Thread Laurent PETIT
Hello Jay, thanks for this really great livrary. I can see that there's a thorough analysis of the framework in a blog series, but which may or may not be up to date. At least, it seems a little bit "dated" (in software duration time scales), but maybe it's still accurate. Maybe updates on the bl

Re: ANN lein-expectations 0.0.7

2012-08-07 Thread Sean Corfield
On Tue, Aug 7, 2012 at 5:31 AM, Jay Fields wrote: > expectations (github.com/jaycfields/expectations) is an opinionated testing > framework that is available for anyone to use. I'm loving Expectations so big thanks for creating it! > and, if you're in an env where you're using an IDE, you'll pro

Re: ANN lein-expectations 0.0.7

2012-08-07 Thread Jay Fields
Hello all, expectations (github.com/jaycfields/expectations) is an opinionated testing framework that is available for anyone to use. I've been using it to test my production code for almost 2 years now, and it's used by various teams at DRW (http://drw.com) to test their production code as wel

Re: ANN lein-expectations 0.0.7

2012-08-06 Thread Sean Corfield
On Mon, Aug 6, 2012 at 6:01 PM, John Gabriele wrote: > Maybe list this at https://github.com/technomancy/leiningen/wiki/Plugins ? Done. I didn't know it wasn't already there! -- Sean A Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ World Singles, LLC. -- http://worldsingl

Re: ANN lein-expectations 0.0.7

2012-08-06 Thread John Gabriele
On Monday, August 6, 2012 3:06:47 PM UTC-4, Sean Corfield wrote: > > On Mon, Aug 6, 2012 at 12:01 PM, Laurent PETIT wrote: > > Links ? > > https://clojars.org/lein-expectations > https://github.com/gar3thjon3s/lein-expectations > > Maybe list this at https://github.com/technomancy/leiningen/wik

Re: ANN lein-expectations 0.0.7

2012-08-06 Thread Laurent PETIT
Wow Expectations wasn't in my radar, thanks for helping me fix this, since it looks like a really useful and featureful test library. I love the way it clearly has a path to JUnit integration which should really help leverage existing IDEs possibilities in this area. Makes me think again on worki

Re: ANN lein-expectations 0.0.7

2012-08-06 Thread Laurent PETIT
Thanks, sorry for the short email, it was sent from smartphone 2012/8/6 Sean Corfield > On Mon, Aug 6, 2012 at 12:01 PM, Laurent PETIT > wrote: > > Links ? > > https://clojars.org/lein-expectations > https://github.com/gar3thjon3s/lein-expectations > > > Le 6 août 2012 à 20:43, Sean Corfield

Re: ANN lein-expectations 0.0.7

2012-08-06 Thread Sean Corfield
On Mon, Aug 6, 2012 at 12:01 PM, Laurent PETIT wrote: > Links ? https://clojars.org/lein-expectations https://github.com/gar3thjon3s/lein-expectations > Le 6 août 2012 à 20:43, Sean Corfield a écrit : >> lein-expectations - the plugin for running Jay Fields' awesome >> Expectations testing libr

Re: ANN lein-expectations 0.0.7

2012-08-06 Thread Laurent PETIT
Links ? Le 6 août 2012 à 20:43, Sean Corfield a écrit : > 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

ANN lein-expectations 0.0.7

2012-08-06 Thread Sean Corfield
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 failu