-
Introduction: A brief overview of Spock, its goals, and what sets it apart from other testing frameworks.
-
Getting Started: Quickest paths to try Spock: the Groovy Web Console and the Spock Example Project for Ant, Gradle, and Maven.
-
Spock Primer: Core concepts and building blocks of a specification: fields, fixture methods, feature methods, and blocks.
-
Data Driven Testing: Running the same feature method against multiple inputs using data tables, data pipes, and data providers.
-
Interaction Based Testing: Creating and verifying mocks, stubs, and spies to test how objects collaborate.
-
Extensions: Built-in extension annotations, the Spock configuration file, and the API for writing your own extensions.
-
Utilities: Helper classes shipped with Spock, including utilities for time-dependent code and collection-matching conditions.
-
Parallel Execution: Configuration and execution modes for running specifications and features concurrently.
-
Modules: Optional integrations with Spring, JUnit 4, Guice, Tapestry, and Unitils.
-
Release Notes: Version-by-version summary of new features, enhancements, fixes, and breaking changes.
-
Migration Guide: Notes on incompatible changes between versions and guidance for upgrading existing specifications.
-
Frequently Asked Questions (FAQ): Answers to common questions about optional dependencies, mocking choices, and platform support.
-
Known Issues: Documented limitations and workarounds.