ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <jakarta-...@ehatchersolutions.com>
Subject Re: including arguments in fileset for junit batchtest
Date Thu, 12 Sep 2002 23:04:30 GMT
I use System properties for passing information into test cases, which 
you can use at the command line outside of Ant or as <sysproperty> 
elements in Ant.

	Erik

nkumar@hotwire.com wrote:
> Hi, 
> 
> I am using the <junit> task with <batchtest> and <fileset> to include
my
> test classes into a test suite as follows: 
> 
> <batchtest todir="${reports}" failureProperty="failed">
>   <fileset dir="${classes}">
>     <include name="ATest.class"/>
>     ...
>   </fileset>
> </batchtest>
> 
> Is it possible to pass a command line argument into ATest.class using this
> structure?  If not, are there any alternative ways to accomplish this?  
> 
> Thanks in advance,
> Nate
> 
> --
> To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>
> 
> 
> 



--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message