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 Corfield <s...@corfield.org> wrote: > 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 version that has both 'given' _and_ the new syntax > so folks can migrate piecemeal? > > Sean > > On Mar 11, 2014, at 6:28 PM, Jay Fields <j...@jayfields.com> wrote: > >> 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 and >> maintainable tests. >> >> feedback always welcome. >> >> Jay >> > >
signature.asc
Description: Message signed with OpenPGP using GPGMail