Tag Archives | groovy

Write unit tests with Spock: a tutorial to get you started

I like Spock Framework. I love it for its clarity, brevity and ease of adoption. So, I prepared a ‘lab’ style tutorial for Java programmers to convince them that it is beneficial to start using Spock. Get started right away with the tutorial by cloning the github repo, or by downloading the zip and typing ‘./gradlew test’ in the homedir. […]

Read full story Comments { 5 }

Functional Testing: lessons learned

Finally I got around using functional testing (some people call it ‘System Testing’) extensively in a project. This post lists what I’ve learned about functional testing and more specifically, Geb, which allows you to automate functional tests.

Read full story Comments { 3 }

Consuming and developing and testing web services with Groovy and Grails

For a recent project, I used Groovy and Grails to both consume and provide and test webservices. In this post I would like to share a few of the highlights, and the rationale behind some of the choices I made.

Read full story Comments { 6 }

Weekend fun with the Dutch Railways API

Recently, Dutch Rail (called NS in Holland) made an API available. I thought I would put it to use.

Read full story Comments { 0 }

My experiences with Grails

For a private project, I have been using Grails for a couple of months now, and altogether it was a very pleasant experience. In this post I would like to highlight some aspects of it.

Read full story Comments { 8 }