Versions Compared

Key

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

...

The Test "CanAddNumbers" was automatically linked to the sum requirement (i.e., the user story "CALC-1").

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

...