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 smoothly. 
>

Sorry, just saw this email. 'given is pretty simple, and well contained. 
Adding it as a util seems like a great solution for your case.

While you're converting, if you run into a test that you want to convert 
but can't quite figure how, a good first pass might be to wrap the whole 
thing in from-each, do a comparison on the last line, and (expect true 
...). You lose all of expectations' smarter comparisons and better failure 
messages, but it can be a pragmatic choice while converting - allowing you 
to revisit when you're not focusing strictly on conversion.

I'm glad you're happy with the changes. We've been running the new version 
in prod for a few weeks and all seems well for us. That said, let me know 
if you run into issues and I'll fix them up asap.

Jay

-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to