Reputation: 71
I saw several solutions for NUnit 2.x version. For example, I can create XSLT, or use Allure Reporter.
But how can I do it for NUnit 3.x version (without writing my own XSLT for NUnit XML results)?
Allure does not work with NUnit3.
Upvotes: 6
Views: 7778
Reputation: 605
I would suggest using GHPReporter. You can create reports for NUnit 3, SpecFlow and MSTest.
No additional attributes required for NUnit 3. Just set up addin (see short instruction in README file: https://github.com/GHPReporter/Ghpr.NUnit) and run your tests with NUnit3 Console.
View your report locally in Firefox:
about:config
security.fileuri.strict_origin_policy
parameterfalse
View your report locally in Chrome:
--allow-file-access-from-files
option:
eg C:\PATH TO\chrome.exe --allow-file-access-from-files
Also see demo report here
EDITED
NUnitGo is no longer maintained.
Upvotes: 6