bmuschko / gradle-clover-plugin

Gradle plugin for generating a code coverage report using Clover
Apache License 2.0
74 stars 49 forks source link

testIncludes list does not support instrumentation of spock tests #69

Closed grantseltzer closed 7 years ago

grantseltzer commented 9 years ago

When I add spock tests to testIncludes list, it includes those tests as classes. Specifically i'm adding '*_/_Spec.groovy' which is how the tests are named. I believe the tests are effectively being run but show up on the class tab instead of the test tab on the bottom left of the report.

Alex-Vol commented 7 years ago

I am unable to reproduce the issue as stated here. In fact when I added this new integration test a few days ago I put Spock test in it with a name ending in Spec.groovy. See how I specified the testIncludes in this source example: Spock test Ant Glob