On Sat, Apr 24, 2010 at 1:50 PM, alarmnummer <[email protected]> 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? > You can find the output in any case in the xml test results generated into the build/test-results dir. It would be nice though to have a switch to let it appear also on the console (i.e. have it mapped to a particular log level). - Hans -- Hans Dockter Founder, Gradle http://www.gradle.org, http://twitter.com/gradleorg CEO, Gradle Inc. - Gradle Training, Support, Consulting http://www.gradle.biz > > > 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 > > >
