Create a unit test project
Before you create a unit test, first set up a unit test project. This page describes how to set up a project in the following IDEs:
JetBrains Rider
- Select File > New....
- Select a Unit Test Project, making sure that you select the right template for either .Net Core or .Net Framework (this must be match your module project).
- Name the test project.
- Select Create.
Microsoft Visual Studio
- Right-click the solution, then Add > New Project....
- Select .NET > NUnit Library Project.
- Select Next.
- Name the test project.
- Select Create.