ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steven Newton" <snew...@standard.com>
Subject RE: Artima SuiteRunner Task
Date Wed, 26 Mar 2003 17:05:25 GMT
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).

Mime
View raw message