Generate XML Files Used by JUnit Reports

前端 未结 4 999
北荒
北荒 2020-12-29 10:49

I want to create test reports generated by JUnit / TestNG PROGRAMMATICALLY. So, that rules out ANT. My main concern is to generate XML files which are created by Junit while

4条回答
  •  一个人的身影
    2020-12-29 11:30

    As being mentioned JUnit does not generate reports. But if you use Maven executing mvn clean install test surefire-report:report will do the trick

    https://examples.javacodegeeks.com/core-java/junit/junit-report-generation-example/

提交回复
热议问题