On 24/04/10 9:50 PM, alarmnummer wrote:
Thanks, it works.

Another question: how can I see the output generated by the testcases
themselves? I have a lot of stresstests that generate output using
System.out. Is it possible to show this on the console while executing the
integration tests from gradle?

It's not, but should be. Could you add a JIRA issue for this?

The output does end up in the junit report.



Adam Murdoch-2 wrote:


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





--
Adam Murdoch
Gradle Developer
http://www.gradle.org


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to