Entries tagged with «spock»

More fun hacking on a Spock extension for mocking up HTTP / REST services

Created:

I finally got around to continue working / hacking / having fun with the Spock extension I started working out before Christmas. The project is still far, far away from being stable or usable. The latest changes are all about trying to come up with a nice API for testing REST / HTTP services.

Continue reading Tags: groovy, grails, testing, jetty, spock

Writing a Spock extension for unit-testing http / rest client code

Created:

I'm in the progress of writing my first Spock extension. I needed to test some http client code in a project and figured that it would be a perfect opportunity to look at the Spock extension API.

Continue reading Tags: extension, grails, http, testing, rest, spock
Fork me on GitHub