I’m in a QA testing cycle on my current project, so I have a few minutes here and there to look at things I’ve put aside during busy times. Right now I’m finally reading through Writing Testable Code by the Google people. It’s good, if a little Google-centric (lots of… Read more »
I’ve been working with Groovy in my current contract. I’d been hearing about it for a few years, ever since some JavaOne fireside chat mentioned it as an example of the future flexibility of the JVM, but I hadn’t done anything with it. Over the past few months I’ve come… Read more »
I mentioned that sometimes using mocks created via Map coercion in Groovy didn’t always work as expected. Here’s a concrete example. Here’s an exception handling code block that I’m trying to test, removing everything except the relevant bits: public void performActivity() throws ActivityException { try { // create a… Read more »