Well, I'm at JavaOne again, and after only one day I've already learnt stuff. And, of course, had a great time catching up with interesting people. Here's a summary of the first day.
Spock: Data Driven Testing
In the last two articles on Spock I've covered mocking and stubbing. And I was pretty sold on Spock just based on that. But for a database driver, there's a killer feature: Data Driven Testing.
Spock passes the next test – Painless Stubbing
In the last post I talked about our need for some improved testing tools, our choice of Spock as something to spike, and how mocking looks in Spock.
As that blog got rather long, I saved the next installment for a separate post.
Continue reading "Spock passes the next test – Painless Stubbing"
Spock is awesome! Seriously Simplified Mocking
We're constantly fighting a battle when developing the new MongoDB Java driver between using tools that will do heavy lifting for us and minimising the dependencies a user has to download in order to use our driver. Ideally, we want the number of dependencies to be zero.
Continue reading "Spock is awesome! Seriously Simplified Mocking"