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

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



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to