JUnit and Ant combined with Cherami Repost
Ant provides two Target: JUnit and JunitReport run all test cases and generate reports of the HTML format as follows: 1. Place junit.jar in the ANT_HOME / LIB directory 2. Modify Build.xml, add the following: < property name = "report" value = "report" /> batchtest> junit> fileset> junitreport> ----- ---------------------------- -------------------------- One or more tests failed, Check The Report for Detail ... ---------- ---------------------------------------------- fail > Target> Run this target, Ant will run each testcase with a lot of Test * .xml and some web pages in the Report directory, INDEX.html under the Report directory can see very intuitive test run report, at a glance .