A SkillsCast for this session is not available.
Spock is a great tool for all kinds of testing, from simple unit tests with optional mocking, to functional tests that verify the behaviour of an entire application. You also get all the benefits of Groovy syntax while being able to test your production code in whatever JVM language it's written in.
In this workshop, Peter and Marcin will take you from the basics of the Spock syntax, through using Spock's own mocking framework, to testing web applications with Geb. They will introduce topics through short presentations, but most of the session will involve you coding through exercises, so don't forget to bring laptops! You'll also discover plenty of tricks and tips to make your tests more expressive and easier to maintain.
Prerequisites: a laptop with a JDK installed and either a text editor or an IDE with Groovy and Gradle support enabled.
YOU MAY ALSO LIKE:
Workshop: Testing with Spock and Geb
Peter is a long time Java developer and one of the core Grails committers. He has been developing with Grails since version 0.2 (give or take 0.1). He created the GWT Grails plugin as an exercise to see whether it was possible, but it has since grown into something that can support serious development.
Marcin has been developing in Groovy since 2010. Currently based in London but has worked in other European countries in the past. He believes in Open Source Software and has a strong need to give back to the community whenever possible.Marcin loves Open Source Software and has a strong need to give back to the community whenever possible. That’s why he’s proud to be the current project lead of Geb, a Groovy Browser automation library. In the past he contributed to many open source projects in the Groovy ecosystem and he enjoys going to conferences both as an attendee and a speaker. That’s where you will find him with a pint of good beer in hand engaged in lengthy discussions on how to make software development process and quality better.