How to display the XUnit test output on Jenkins

我只是一个虾纸丫 提交于 2019-12-08 11:26:06

问题


According to JUnit formatted test output I created an XUnit report xml with https://github.com/garcus/wct-xunit-reporter.

What does not work is that Jenkins displays the Test-Results. I tried:

  • different XUnit Test Results (Publish xUnit test result report: [xUnit] [ERROR] - The converted file for the result file '..../testfile.xml' (during conversion process for the metric 'NUnit') is not valid.)
  • the JUnit Test Results

Is there another XUnit xsl needed, or what else do I miss?


回答1:


I found the correct test result type:

xUnit.Net-v2

That must be choosen in the dropdown of 'Publish xUnit test result report'



来源:https://stackoverflow.com/questions/41223270/how-to-display-the-xunit-test-output-on-jenkins

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