- The NUnit Installation Guide
- The NUnit Test Project Creation
- Unit Testing for Solving Equations
- ...
Step 1: In Visual Studio, from Tools menu -> NuGet Package Manager -> Manage NuGet packages for solution...
Step 2: Open the Browser tab, and Scroll or use search to locate the NUnit and NUnit.Console packages.
Step 3: Tick the projects that you want to install NUnit and click Install
Step 1: In Visual Studio, from Tools menu -> NuGet Package Manager -> Package Manager Console
Step 2: In the Package Manager Console -> Type "Install-Package NUnit"
Step 3: After installing NUnit -> Type "Install-Package NUnit3TestAdapter"
Step 4: Check if the 2 packages have been installed -> Type "Get-Package"
Step 1: Open cmd and direct to the project
Step 2: Type "dotnet add package NUnit"
Step 3: After installing NUnit -> Type "dotnet add package NUnit3TestAdapter"
Step 1: Select Add -> New Project
Step 2: Search for NUnit Test Project -> Next
Step 3: Name the Test Project (usually with "Test" suffix) -> Next