Back to Intellij Community

Spock SetUp Method.Groovy

plugins/groovy/groovy-psi/resources/fileTemplates/code/Spock_SetUp_Method.groovy.html

2025.3-rc-2224 B
Original Source

| This is a template used to create a setup() method in Spock test class. |

| Predefined variables will take the following values: | | ${NAME} | | name of the created method. | | ${BODY} | | generated method body. |