-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Medium
-
Affects Version/s: 3.1.11
-
Component/s: Grails Plugin, Instrumentation
-
None
Follow up of CLOV-1189.
setuptask = { ant, binding, plugin ->
ant.'clover-setup'(initstring: ".clover/common.db") {
ant.fileset(dir: "grails-app", includes: "**/domain/**, **/controllers/**, **/jobs/**, **/services/**, **/taglib/**, **/utils/**") { }
ant.fileset(dir: "src", includes: "**/*.groovy, **/*.java", excludes: "**/script@*.groovy, **/system/generator/**, **/system/database/generators/**, **/castor/**") { }
ant.fileset(dir: "test", includes: "**/*.groovy") { }
// ant.testsources(dir: "test", enabled: false) { }
ant.profiles {
ant.profile(name: "default", coverageRecorder: "SHARED")
}
}
}
If I uncomment the testsources enabled:false line, it runs about as quickly as before. Normally our coverage run takes about 42 minutes. With the above configuration it's been running for about 3 hours and is about half finished.