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 |
Explain how to modify properties in ant?
What are the capabilities of ant?
Explain how to compile using ant script?
What is built-in properties? And how many built-in properties?
Explain how to use clean in ant script?
Can I put the contents of a classpath or fileset into a property?
How we can set the path environment variable of ant?
Explain how to use pmd validation in ant script?
How can I use ant to run a java application?
What is ivy?
How many types of build tool you know?
How we can deploy file on server using ant?