Spock (testing framework)

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
Developer(s)Peter Niederwieser, Luke Daley
Stable release
1.3 / March 5, 2019; 2 years ago (2019-03-05)[1]
TypeTest framework
LicenseApache 2.0

Spock is a Java testing framework capable of handling the full life cycle of a computer program.[2] 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 Release Notes
  2. ^ Kapelonis, Konstantinos (27 March 2016). Java Testing with Spock. Manning Publications. ISBN 9781617292538.