ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Reeves" <CRee...@medfusion.net>
Subject RE: Artima SuiteRunner Task
Date Wed, 26 Mar 2003 17:07:44 GMT
Ah - ok. 

And proof that no matter how tattered the pages of my copy of JDWA are,
there's more gems to be found within.

Thanks!

Chris

> -----Original Message-----
> From: Steven Newton [mailto:snewton@standard.com] 
> Sent: Wednesday, March 26, 2003 12:05 PM
> To: Ant Developers List
> Subject: RE: Artima SuiteRunner Task
> 
> 
> I do it with one line in my build.xml:
> <test todir="${junit.results}" name="${testcase}" 
> if="testcase"/> and a small change to the batchtest task: 
> <batchtest todir="${junit.results}" unless="testcase">
> 
> Both of these in are my "test" target, so I just run ant with 
> ant -Dtestcase=com.whatever.TestWhatever test
> 
> Easy!  And thanks to Erik's book for the tip.
> 
> s
> 
> -----Original Message-----
> From: Chris Reeves [mailto:CReeves@medfusion.net] 
> 
> How do you set it up to run a single test on demand?
> 
> I could set a different target for each test (painful) or use 
> a command line param with -D (less painful but no idea).
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
> For additional commands, e-mail: dev-help@ant.apache.org
> 
> 

Mime
View raw message