Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Explain how to test classes for junit using ant script?



Explain how to test classes for junit using ant script?..

Answer / Hemant Kumar Mishra

To test JUnit classes using Ant, first ensure you have the JUnit taskdef in your build.xml (or include it if using a third-party library). Then, define the tests you want to run using `<test>` tags under the `<build>` element. Each test should contain a reference to the .java file and its corresponding test .java file.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Apache Ant Interview Questions

Explain how to modify properties in ant?

1 Answers  


What are the capabilities of ant?

1 Answers  


Explain how to compile using ant script?

1 Answers  


What is built-in properties? And how many built-in properties?

1 Answers  


Explain how to use clean in ant script?

1 Answers  


Can I put the contents of a classpath or fileset into a property?

1 Answers  


How we can set the path environment variable of ant?

1 Answers  


Explain how to use pmd validation in ant script?

1 Answers  


How can I use ant to run a java application?

1 Answers  


What is ivy?

1 Answers  


How many types of build tool you know?

1 Answers  


How we can deploy file on server using ant?

1 Answers  


Categories