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 |
How we can set compile target using ant?
Explain how to import .jar files?
Why do you call it ant?
How many types of build tool you know?
What is advantage of ant 1.7.1?
What are the core concepts of ant?
How many ways we can set properties into build ant file?
Explain how to use ant-contrib tasks?
Which version of java is required to run ant?
How we can run jar using ant?
Explain how to use runtime in ant?
Explain how to compile using ant script?