JetBrains Rider 2019.1 Help

MSTest

File | Settings | Build, Execution, Deployment | Unit Testing | MSTest for Windows and Linux
JetBrains Rider | Preferences | Build, Execution, Deployment | Unit Testing | MSTest for macOS
Ctrl+Alt+S the Settings/Preferences icon


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

Item

Description

Enable MSTest support

By default, JetBrains Rider adds action indicators allowing you to execute MSTest tests right from the editor and automatically discovers MSTest tests in your solution. Clear this check box to disable this behavior.

Choose the IDE folder

As MSTest v1 is not distributed without Visual Studio, you have to specify the IDE folder inside a Visual Studio installation on your machine. JetBrains Rider will find all necessary executables in this folder.
MSTest v2, on the other hand is delivered as a NuGet package. If you are using MSTest v2 in a .NET Core project, then you do not need to specify the IDE folder.
However, MSTest v2 in a classic .NET Framework project still requires Visual Studio, so you need to specify the Visual Studio's IDE folder in this case.

Test Settings

Specify a custom test settings configuration (.testsettings file within your solution).

Last modified: 11 June 2019

See Also