ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "RADEMAKERS Tanguy" <>
Subject RE: How to run JUnit Test cases using ANT script ?
Date Tue, 20 Jun 2006 09:05:55 GMT
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


>-----Original Message-----
>From: Deepak Rao [] 
>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:
For additional commands, e-mail:

View raw message