ReSharper 2018.2 Help

C++ Tests

ReSharper | Options | Tools | Unit Testing | C++ Tests

In this page of ReSharper options, you can adjust preferences for unit testing assistance in C++.

Item

Description

Enable Google Test support

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

Enable Catch support

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

Enable Boost.Test support

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

Use command-line arguments...

This setting controls whether ReSharper should use the value of the Debugging | Local Windows Debugger | Command Arguments project property when running unit tests.

Test Run Configuration

Command
Command Arguments
Working Directory
Environment

Here you can specify standard execution settings for projects with tests. These settings are normally specified in project properties (Project Properties | Configuration Properties | Debugging) and ReSharper will take it from there.
However, if these properties are not specified there (for example, in a library project, in an 'Open Folder' or CMake project), you can define execution setting in this settings page.
Note that if the execution settings are specified both in project properties and in this page, settings from project properties will be used.

Merge environment

If this check box is selected, ReSharper will use environment variables from both the operating system and the Environment field above.

Last modified: 21 December 2018