JetBrains Rider 2024.3 Help

Unit Testing

On this page of JetBrains Rider options, you can adjust general settings that apply to all unit testing features.

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.

Maximum number of test runners to run in parallel

Use this selector to set the maximum number of assemblies to be tested concurrently in parallel threads. Fore each assembly, JetBrains Rider will launch a separate test runner.

Skip tests from categories

Type names of test categories to be excluded from the run, separated by a comma. The tests associated with the category that you specified are ignored.

For XUnit tests, where there is no special attribute for categories, list the ignored categories as follows:

  • For attributes like [Trait("One", "Two")], add One [Two] in the settings field.

  • If the first argument of the attribute is Category, for example [Trait("Category", "Three")], then you can add it as Three in the settings field.

For more information, refer to Test categories

Run tests from:

Choose Project output folder to run compiled tests from the default location. When assemblies are placed in the default project location, test files are retrieved from the same location.

Choose Specified folder to run tests using a post-build step, so the tests are run from the particular folder. Enter the desired path in the field, or click Browse to find and set the desired location.

Unit Test Sessions

Save and restore Unit Test Sessions

Select this checkbox to allow JetBrains Rider to restore unit test sessions when you close and reopen Rider.

Show notification when session is finished

Select this checkbox if you want to see system notification when a unit test session ends.

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 checkbox is selected, long lines are wrapped.

Maximum number of lines in autoloaded output

Defines how to many lines should be displayed in the Output tab in the Unit Tests window.

Last modified: 11 February 2024