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

  1. Select File > New....
  2. 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).
  3. Name the test project.
  4. Select Create.

Microsoft Visual Studio

  1. Right-click the solution, then Add > New Project....
  2. Select .NET > NUnit Library Project.
  3. Select Next.
  4. Name the test project.
  5. Select Create.