Suggest a tool

Spock

Metrics as of , from the GitHub or GitLab API of each repository. Refreshed monthly.

What Spock is

Spock is a BDD-style testing and specification framework for Java and Groovy applications. Version 2.x runs on the JUnit Platform and requires Java 8 or later with Groovy 2.5 or later. Maven Central releases are built in separate variants for each Groovy version from 2.5 to 5.0. The spock-core module is the only mandatory dependency. Optional modules integrate with the Spring TestContext Framework, Guice, Tapestry 5 and Unitils. Published jars declare automatic module names for use on the Java 9+ module path. Sample specs can run in the browser through the Groovy Web Console.

Written from the project's README, read .

Category
Unit testing and test runners
License
Apache-2.0
Language
Java
Changelog
Releases on GitHub

Repository metrics

Repository metrics
Stars3,6301
Forks4841
Open issues and PRs2111
Contributors1381
Commits in the last 90 days121
Last commit2026-07-281
Last releasespock-2.4, 2025-12-111
Fetched

1 Fetched from the GitHub or GitLab API on . Hover a value for its own date.

Status

activeLast commit within 90 days of the fetch date.

Computed from the last commit date and the archive flag on the fetch date. See the status rules.

Alternatives

Listed unit testing and test runners tools, same primary language first, then by GitHub stars. Each line gives one fact from the tool's documentation where it differs from Spock's, with its source.

Questions

Is Spock open source?

Yes. Spock is released under Apache-2.0, an OSI-approved license, as reported by the GitHub API on 2026-09-22.

Is Spock maintained?

On 2026-09-22, the last commit to the default branch was on 2026-07-28, so the listed status is active. Rule: Last commit within 90 days of the fetch date.

How many GitHub stars does Spock have?

3,630 stars on 2026-09-22, from the GitHub API. The number is refreshed at each monthly update.

What language is Spock written in?

The repository's primary language, as reported by the GitHub API, is Java.

Sources

  1. GitHub REST API: repository, read
  2. GitHub REST API: commits, read
  3. GitHub REST API: latest release, read
  4. GitHub REST API: contributors, read
  5. README, read