Closed adithshenoy closed 4 years ago
I tried to reproduce this with a simple Spock test and the coverage was reported fine. In any case, the plugin doesn't really integrate deeply with Jacoco, all it does is set up a JacocoReport
task for each test set (which seems to work here, as the jacocoIntegrationTestReport
task is available). So if there is any bug, it is likely with the Gradle Jacoco plugin or Spock.
Folder structure:
As seen in the image below, java tests come in the jacoco coverage. However, groovy spock testcases are being ignored.
Code: