visual-studioseleniumnunitreportunit

NUnit test results and reportunit


I am currently using NUnit in Visual Studio to execute my Selenium tests. What I want is some good reporting and I found ReportUnit.

What I cannot seem to figure out is where NUnit places the test result xml files on my machine. I am no tech-wiz so I am struggling to find out how to get ReportUnit working. I found the documentation here: http://relevantcodes.com/reportunit/

But cannot quite figure out how to get my test result files in a specific folder and then open them with ReportUnit.

Any help is appreciated.

Kind regards, Anand


Solution

  • Use the --out option of nunit3-console.exe to specify where the result file should go. e.g.

    nunit3-console.exe MyTests.dll --out=C:/TestResult.xml