Code coverage for groovy tests

Micro-services of my product have been rewritten into Go from Java and the test automation code has been written using Spock and Groovy.

Is there a way I can find the code coverage of my test automation code?

Yes.