Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Parse Junit xml file

Is there any open source libraries to parse junit xml using java and get information like testsuite name that are executed ,testcases corresponding to a testsuite , number of failures and number of success ? I just saw junit style report tool , is there any open source libraries to get these information in java.

like image 876
Muthu Avatar asked Nov 02 '12 16:11

Muthu


1 Answers

You can use the junitreport task from ant to generate some report files which shows the informations you need. Also check the question Custom JUnit Report? on how to customize the generated report for your needs.

like image 158
Progman Avatar answered Nov 19 '22 12:11

Progman