Whether using Test Driven Development, Business Driven Development or different development process, Spock provides a framework using a testing domain-specific language for your Java source code.

About Spock Framework

Spock is a testing and specification framework for Java and Groovy applications. What makes it stand out from the crowd is its beautiful and highly expressive specification language. Thanks to its JUnit runner, Spock is compatible with most IDEs, build tools, and continuous integration servers. Spock is inspired by JUnit, jMock, RSpec, Groovy, Scala, Vulcans, and other fascinating life forms.

Spock uses the Abstract Syntax Tree (AST) in Groovy, which removes many of the ceremonial handcuffs that come with other frameworks, creating a fluid test domain-specific language.


Clearly the best way of showing Spock’s capabilities is by example. That is why in this talk I will limit slides and opt for live code instead to show off the power of Spock. Join me in going boldly where many developers have gone and many more will go by learning the basics of Spock Framework.