Hello Deepak,

I would suggest looking up the following tasks in the ant manual:

1) building your code: the <javac> task
2) running junit tests: the <junit> task
3) making a report of junit tests run: the <junitreport> task

Regards,
/t

>-----Original Message-----
>From: Deepak Rao [mailto:[EMAIL PROTECTED] 
>Sent: Tuesday, June 20, 2006 9:35 AM
>To: Ant Users List
>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
>

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

Reply via email to