ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Donald McLean <dmcl...@stsci.edu>
Subject Re: How I may run junit test cases in packages?
Date Fri, 27 Apr 2007 16:28:33 GMT
Ok, this is just a wild guess, but is this where you would use something 
like:

             <batchtest>
                 <fileset dir="${root}">
                     <include name="**/Test*.java" />
                 </fileset>
             </batchtest>

Donald

Denis Bessmertnyj wrote:
> 
> Hi All,
> 
> 
> My JUnit Test Cases have the next package structure
> /root_dir
>    /testcase
>        /component1
>            /TestComponent1.class
>        /component2
>            /TestComponent2.class
> 
> How I may run all this test cases with <junit> task. May you give me and 
> example.
> Take note that Ant need to run this test cases without directly 
> specifying test case
> class names or packages. Ant may know only root_dir location.


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


Mime
View raw message