Spock (testing framework)

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
Developer(s)Peter Niederwieser, Luke Daley
Stable release
1.1[1] / May 5, 2017 (2017-05-05)[2]
TypeTest framework
LicenseApache 2.0

Spock is a Java testing framework capable of handling the full life cycle of a computer program.[3] It was initially created in 2008 by Peter Niederwieser, a software engineer with GradleWare. A second Spock committer is Luke Daley (also with Gradleware) who is also the creator of the popular Geb functional testing framework.

See also[edit]

  • JUnit, unit testing framework for the Java programming language
  • TestNG, test framework for Java
  • Mockito, mocking extensions to JUnit


  1. ^ Spock 1.1
  2. ^ Spock Releases History
  3. ^ Kapelonis, Konstantinos. Java Testing with Spock. Manning Publications. ISBN 9781617292538.