bmuschko/gradle-clover-plugin — Issue #11: additionalTestDirs adds sourceSet to test sourceSet
Author: mambon2
Created: 2012-02-22 17:35:39+00:00
State: open

We have a separate test task "integrationTest" that uses the integrationTest sourceSet. These need to be configured differently. that is the reason why we have a separate test task for them.

When I try to add clover instrumentation by using additionalTestDirs, the sourceSet ends up being added to the "test" sourceSet, which results in the integrationTests being executed twice. Once by the integrationTest task and again by the test task. The test task fails bc of lacking configuration.

We believe this to be a bug. additionalTestDirs should add sourceSet to instrumentation w/o adding the sourceSet to the "test" sourceSet or any other sourceSet.

Thanks, Pablo Munoz