JetBrains Rider 2018.1 Help

Unit Testing

JetBrains Rider helps discover and run or debug unit tests. The following unit testing frameworks are supported:

  • NUnit 2.6.2 ... 3.10.1. JetBrains Rider installation includes 2 bundled versions of NUnit test runners (2.6.4 and 3.6.1). You can choose one or both of them, or specify a local installation of NUnit on the Build, Execution, Deployment | Unit Testing | NUnit page of JetBrains Rider settings (Ctrl+Alt+S).
  • MSTest V1 (Windows only, requires Visual Studio installed), V2 (.NET Core, xplat)
  • XUnit

With JetBrains Rider, you can execute a single unit test, all tests in a test class, file, project or solution. You can also execute any number of tests combined in a test session.

In this section:

All JetBrains Rider unit testing actions are available from the Test menu or from the Unit Testing Quick List (Shift+Alt+U):

JetBrains Rider: Unit Testing Quick List

You can use the following shortcuts for for unit testing commands:

For the full list of Rider keyboard shortcuts, see Keyboard Shortcuts Reference.

Last modified: 11 July 2018