Explore all about Unit Testing in Spock - Test fixtures, Assertions, and Reporting
This tutorial will walk you through all the details/steps required to get started with Unit testing in Spock.
We will test a simple Calculator Application which has different methods like addition, subtraction, multiplication, division, etc., all of which accept integer parameters and return integer output.