On 22/04/10 8:03 AM, alarmnummer wrote:
Sorry, my bad.
My question is: how can I add an additional task that executes tests ending
with 'StressTest.java'? These tests take a long time and I don't want to
execute them all the time, but I want to be able to execute them from
Gradle.
Just add another Test task instance, for example:
task integrationTest(type: Test) {
include '**/*StressTest.*'
}
test {
exclude '**/*StressTest.*'
}
The 'integrationTest' task will use the same default configuration as
the 'test' task: classpath, output dir, etc, and will automatically
depend on the 'classes' and 'testClasses' tasks.
--
Adam Murdoch
Gradle Developer
http://www.gradle.org
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email