You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Deepak Rao <de...@yasutech.com> on 2006/06/20 09:34:58 UTC

How to run JUnit Test cases using ANT script ?

I have a simple JAVA based application, for which there are some JUnit Test Cases.

How do we write an ANT script which 
-builds the application
-runs the JUnit test cases for it, and 
-then  show test report and close down.

Hope someone has an idea.

Thanks and Regards
Deepak Rao

Re: How to run JUnit Test cases using ANT script ?

Posted by Jeffrey E Care <ca...@us.ibm.com>.
A simple look at the manual will reveal your answer....

____________________________________________________________________________________________ 

Jeffrey E. (Jeff) Care 
carej@us.ibm.com 
IBM WebSphere Application Server Development 
WAS Pyxis Lead Release Engineer 






"Deepak Rao" <de...@yasutech.com> 
06/20/2006 03:34 AM
Please respond to
"Ant Users List" <us...@ant.apache.org>


To
"Ant Users List" <us...@ant.apache.org>
cc

Subject
How to run JUnit Test cases using ANT script ?






I have a simple JAVA based application, for which there are some JUnit 
Test Cases.

How do we write an ANT script which 
-builds the application
-runs the JUnit test cases for it, and 
-then  show test report and close down.

Hope someone has an idea.

Thanks and Regards
Deepak Rao