Spock is a developer testing framework for Java and Groovy applications. Even though it is fully JUnit-compatible on the outside, Spock isn't just another JUnit clone - its goal is to take developer testing to the next level! With its Groovy-powered and highly expressive testing language, Spock boosts productivity and brings back the fun to testing.
In the first part of this session, Spock's approach to state-based, data-driven, and behavior-based testing will be demonstrated. Next, we will explore some of Spock's extensions, in particular the Grails plugin and the Spring TestContext Framework integration. Finally, we will look under the covers of Spock and write our own extension. Along the way, expect to see lots of code and live demos.
Peter Niederwieser is a computer language enthusiast from Austria who has been using Java since the early days. Peter's work experience ranges from small start-ups to large enterprises like Siemens. His passion for software quality and continuous delivery invariably leads him to take the build master role on new projects, pushing project automation as far as he can. It also lead him to create Spock, an innovation-packed developer testing framework that is seeing increasing adoption around the globe.
Peter is an active member of the Groovy community, and can't sleep without his daily dose of Scala. When Peter isn't coding, you can find him speaking at conferences around the world, or pondering over a chess board.More About Peter »