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?



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
> 
> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Integration-test-tp28287866p28349892.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


Reply via email to