This document discusses the Spock testing framework and provides examples of how to write Spock tests. It introduces Spock and other testing frameworks such as JUnit, TestNG. Examples are given of writing unit tests, integration tests, and data-driven tests with Spock. Exception handling and specifying test behaviors in a BDD style are also demonstrated. The document is copyrighted to Russel Winder and provides his contact details.