JetBrains Rider 2018.1 Help

Unit Testing

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

On this page of JetBrains Rider options, you can adjust unit testing settings.

Default platform architecture This selector allows choosing a platform to run unit tests on.
Default .NET Framework version This selector allows setting .NET version to use when running unit tests.
Unit Test Sessions
Save and restore Unit Test Sessions Select this check box to allow JetBrains Rider to restore unit test sessions when you close and reopen Rider.
Unit Test Output
Wrap long lines in Unit Test Session output Defines how to display long lines in the Output tab in the Unit Tests window. If this check box is selected, long lines are wrapped.
Unit Test Runner
Shadow-copy assemblies being tested If this check box is selected, assemblies being tested are subject to shadow-copying. So even while the tests are running, assemblies can be rebuilt.
Use separate AppDomain for each assembly with tests This option applies to MSTest and NUnit tests and lets the test runner start each test assembly in its own Application Domain. It may come in handy in the following situations:
  • You need to use different app.config files for different test assemblies.
  • You use reflection in tests.
Check for hanging test execution By default, JetBrains Rider notifies you if there is no response from the test execution process.
You may want to disable this option if there is some code that could take long when executing after tests are finished (SetupFixture TearDown, Class TearDown).
Last modified: 20 August 2018