JetBrains Rider 2018.2 Help

NUnit

File | Settings | Build, Execution, Deployment | Unit Testing | NUnit for Windows and Linux
JetBrains Rider | Preferences | Build, Execution, Deployment | Unit Testing | NUnit for macOS
Ctrl+Alt+S icons general settings svg


In this page of JetBrains Rider options, you can adjust unit testing settings related to NUnit tests.

ItemDescription
Enable NUnit support By default, JetBrains Rider adds action indicators allowing you to execute NUnit tests right from the editor and automatically discovers NUnit tests in your solution. Clear check boxes corresponding to specific NUnit versions to disable this behavior.
Depending on these settings, JetBrains Rider will use bundled NUnit test runners: v. 2.6.4 and/or v. 3.6.1 correspondingly.
Custom NUnit installation
Use specified custom NUnit

If you want to use another NUnit version, tick this check box and enter the path to the local NUnit installation into the corresponding text box.

Notes:

  • JetBrains Rider 2018.2 supports NUnit 3.10.1 and above.
  • If there are any NUnit addins in this custom installation, they will be loaded too.
NUnit 2.6.4
Load NUnit Addins

If support of NUnit 2x is selected above and you need to use NUnit addins for this bundled version, put the addins in the lib\ReSharperHost\NUnit2\addins subfolder of the JetBrains Rider installation directory (which is shown for your convenience) and choose how to load them.

Last modified: 20 September 2018

See Also

Procedures: