concept spock test in category java
appears as: Spock tests

This is an excerpt from Manning's book Java Testing with Spock.
Spock is written in Groovy, which is less verbose than Java. Spock tests are more concise than the respective JUnit tests. This advantage isn’t specific to Spock itself. Any other Groovy testing framework would probably share this trait. But at the moment, only Spock exists in the Groovy world. Figure 1.15 shows this advantage in a visual way.
Spock tests have a clear structure with explicit given-when-then blocks.