Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The Execution Details of the Generic Test contains information about the context, which in this case corresponds to the Test case method itself. 


Tips

If you're using Visual Studio as your IDE, you need to have some dependencies/packages installed.

  • NUnit
  • NUnit3TestAdapter

These can be installed from Tools>NuGet Package Manager (using the console or the manager's UI).

Image Added


Then you can configure the Test Explorer to run the NUnit tests while at the same time producing a NUnit XML report.


Code Block
languagec#
titlenunit.runsettings
collapsetrue
<?xml version="1.0" encoding="utf-8"?>
<RunSettings>
   <NUnit>
     <TestOutputXml>C:\TestResults</TestOutputXml>
 </NUnit>
</RunSettings>

Image Added 


References