You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> This is a copy/MD-conversion of the original article by [Lukasz Janicki](https://github.com/TheJavatarCom): [Spock Testing – Spock tutorial – The Javatar ](http://thejavatar.com/testing-with-spock/). The webpage is no longer available, but this cheat-sheet is too good to loose! A simpler full demo of a Spock implementation can also be found [here](https://github.com/schultzisaiah/spock-springboot-demo).
3
4
## What is Spock?
5
Spock is a **unit testing framework** that in great extent utilizes Groovy’s syntax making your tests comprehensible and easy on the eyes. Although it is a Groovy technology you can use it to test your Java classes as well. What is the most important is that **Spock makes writing tests fun**. And I really mean it.