Converting XML JUnit report to HTML [duplicate]

杀马特。学长 韩版系。学妹 提交于 2019-12-22 10:48:41

问题


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:


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?



来源:https://stackoverflow.com/questions/22164914/converting-xml-junit-report-to-html

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!