How to convert NUnit output into an HTML report

前端 未结 6 1934
谎友^
谎友^ 2020-12-07 16:58

Does anyone have any suggestions for a good tool, xslt or other that can produce an HTML report from the XML output of NUnit?

We\'re currently using NUnit 2.5.5 to r

6条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-07 17:43

    ReportUnit is not maintained and is being replaced by extentreports-dotnet-cli.


    You can also try ReportUnit, which also supports Gallio, xUnit, TestNG and MSTest: http://reportunit.relevantcodes.com

    This is a simple exe file that will convert your xml report into an HTML dashboards (samples):

    • Folder-level dashboard: http://relevantcodes.com/Tools/ReportUnit/Index.html
    • File-level: http://relevantcodes.com/Tools/ReportUnit/NUnit-TestResult.html

    Usage:

    reportunit "path-to-folder" // folder-level report
    reportunit "path-to-folder" "output-folder" // folder-level report
    reportunit "Result.xml" "generated.html" // file-level report
    

    More info here: http://reportunit.relevantcodes.com

提交回复
热议问题