ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steven Newton" <>
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.


-----Original Message-----
From: Chris Reeves [] 

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

View raw message