Explain how to test classes for junit using ant script?
Answer Posted / 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 View All Answers
No New Questions to Answer in this Category !! You can
Post New Questions
Answer Questions in Different Category