'How to change Spock test template in IntellijIdea?
It could be handy to know from where Spock tests are generating and have the possibility to add something there.
For now, if to press (Cmd/Ctrl)+Shift+t you can see something like this

with possibility to change base class and generate some test methods. But how can I add, for example, autogenerated string.
WheelGameCreator target = new WheelGameCreator()
to each my test?
I've found some templates in File and Code Templates, but changes there have no effect on my newly generated tests.

Solution 1:[1]
There is the Spock Test Method template in the "code" pane

In case you change the template here, you may use it when generating the Spock tests in the following way:

Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Olga Klisho |
