Hi,
I added a CoberturaTestTask (see upload). When using the CoberturaPlugin,
the test-task of the JavaPlugin is overwritten by this CoberturaTestTask.
Instead of configuring a cbIntrument-, test-, cbReport- and cbCheck-task,
the following does it all in one:
test {
stopAtFailuresOrErrors = true
options.fork(jvmArgs: ["-Denvironment=dev",
"-Dautosearch.runmode=retriever", …])
instrument.include '.*com.whatever.*'
instrument.exclude '.*com.whatever.ignore.*'
check.totalBranchCoverageRate = '50'
check.totalLineCoverageRate = '60'
}
Happy testing
http://www.nabble.com/file/p22970298/GradleCoberturaPlugin.zip
GradleCoberturaPlugin.zip
--
View this message in context:
http://www.nabble.com/Cobertura-Plugin-tp22701606p22970298.html
Sent from the gradle-user mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email