Spock is a popular open source testing framework (mainly) 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.
After a short introduction, I will discuss Spock’s Java and Groovy specific features, will show how Spock can be used for integration testing of Spring applications, and how combining it with Geb yields a powerful solution for acceptance testing of web applications. Finally, I will demonstrate how Spock can be extended to build out the test infrastructure for your project, and will showcase the latest features planned for the mythical Spock 1.0 release.
[youtube GYszXrJtxKA]