Converting XML JUnit report to HTML [duplicate]

2019-05-16 11:33发布

I have been generating junit xml report till now for my Protractor tests, but as tests are increasing I need to get a HTML report for the tests. Can we change the junit xml report to HTML using XSLT? If yes, can I have XSLT file for the same.

1条回答
我想做一个坏孩纸
2楼-- · 2019-05-16 12:00

The solution can be to convert JUnit XML files to HTML files using the XSLT . You can find the XSLT file in the answer of this question: What XSLT converts JUnit Xml format to JUnit Plain format

You can use XSLT to create custom manual reports as in Custom JUnit Report?

You can use Ant to create HTML reports as in how can i create a html report for the junit xml report manually?

查看更多
登录 后发表回答