How can I generate an HTML report for Junit results?

前端 未结 7 1518
囚心锁ツ
囚心锁ツ 2020-11-27 02:57

Is there a way to (easily) generate a HTML report that contains the tests results ? I am currently using JUnit in addition to Selenium for testing web apps UI.

PS: G

7条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-11-27 03:05

    I found xunit-viewer, which has deprecated junit-viewer mentioned by @daniel-kristof-kiss.

    It is very simple, automatically recursively collects all relevant files in ANT Junit XML format and creates a single html-file with filtering and other sweet features.

    I use it to upload test results from Travis builds as Travis has no other support for collecting standard formatted test results output.

提交回复
热议问题