IntelliJ IDEA
 
Get IntelliJ IDEA
You are viewing the documentation for an earlier version of IntelliJ IDEA.

Getting started with Spock

Last modified: 10 August 2022

Plugins used for the code examples:

Java version 14.0.1

Gradle version 7.1.1

Spock version 2.0

Groovy version 3.0.8

Spock is a testing framework for Java and Groovy code that you can use to automate your tests. IntelliJ IDEA supports full Spock integration as well as additional Spock features that you can enable via third-party plugins such as Spock Framework Enhancements, Spock ADB, and so on.