Re: expectations 2.0 has been released

2014-03-17 Thread Jochen
Hi Jay yep, with 2.0.7, everything works just fine now. BTW: I still consider this a very quick response time wich is highly appreciated. Ported all my (thousands of) tests over with no more issues. Ciao ...Jochen -- You received this message because you are subscribed to the Google Gr

Re: expectations 2.0 has been released

2014-03-16 Thread Jay Fields
Jochen (and anyone else affected by this): Sorry, took me a few days, but I've released 2.0.7, which fixes all the bugs reported above. Cheers, Jay On Thu, Mar 13, 2014 at 6:54 AM, Jay Fields wrote: > Thanks for all the examples, I'll look today at getting these fixed up. > > > On Thursday, Marc

Re: expectations 2.0 has been released

2014-03-13 Thread Jay Fields
Thanks for all the examples, I'll look today at getting these fixed up. On Thursday, March 13, 2014, Jochen wrote: > Hi Jay > > unfortunately I found another one, again on AssertionErrors but this time > with for-each: > (expect AssertionError (from-each [a [1 2]] (assert (string? a ;; a

Re: expectations 2.0 has been released

2014-03-13 Thread Jochen
Hi Jay unfortunately I found another one, again on AssertionErrors but this time with for-each: (expect AssertionError (from-each [a [1 2]] (assert (string? a ;; all pass as intended (expect AssertionError (from-each [a [1 "2"]] (assert (string? a ;; still all pass but should signal

Re: expectations 2.0 has been released

2014-03-13 Thread Gal Dolber
Looks great! thanks for sharing On Thu, Mar 13, 2014 at 6:25 AM, Jochen wrote: > Hi Jay... > > thanks for all the great new features. > > There is just one strangeness I have, exceptions seem not to work with > more->, but did with given. > E.g. > (expect (more-> false identity >

Re: expectations 2.0 has been released

2014-03-13 Thread Jochen
Hi Jay... thanks for all the great new features. There is just one strangeness I have, exceptions seem not to work with more->, but did with given. E.g. (expect (more-> false identity AssertionError assert) false) fails with reporting >> failure in ( sample_test.clj:4

Re: expectations 2.0 has been released

2014-03-12 Thread Jay Fields
On Wednesday, March 12, 2014 2:53:09 PM UTC-4, Sean Corfield wrote: > > Since `given` was a relatively simple macro, we added it to > worldsingles.util.test and switched all our test namespaces to refer given > from there instead, and then upgraded to Expectations 2.0.6. Seems to have > gone smo

Re: expectations 2.0 has been released

2014-03-12 Thread Sean Corfield
Since `given` was a relatively simple macro, we added it to worldsingles.util.test and switched all our test namespaces to refer given from there instead, and then upgraded to Expectations 2.0.6. Seems to have gone smoothly. Love the new DSL features! Sean On Mar 11, 2014, at 8:28 PM, Sean Co

Re: expectations 2.0 has been released

2014-03-11 Thread Sean Corfield
Looks great Jay - as you know I'm a big fan of Expectations. One big issue I see here is that by removing 'given' you've made adoption of 2.0 a bit "all or nothing": to use 2.0, I must update our entire test base to rewrite all 'given' tests using the new syntax. Is there an intermediate versio

expectations 2.0 has been released

2014-03-11 Thread Jay Fields
expectations is a minimilist's unit testing framework website: http://jayfields.com/expectations/ github: https://github.com/jaycfields/expectations changelog: https://github.com/jaycfields/expectations/blob/master/CHANGELOG.md some large changes that will hopefully result in even more concise a