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:[EMAIL PROTECTED] 
> 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:[EMAIL PROTECTED] 
> 
> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

Reply via email to