CLion 2018.2 Help

Run/Debug Configuration: Boost.Test

Use this page to configure run/debug options for Boost.Test - a C++ testing framework.

Click here for the description of the options that are common for all run/debug configurations.

Configuration tab

ItemDescription
Target Choose the desired target from the list.

Target types are marked with the following icons:

cl targetAll - All targets

cl targetExecutable - Executable

cl targetCustom - Custom target

cl targetLibrary - Library

Test kind
  • Select the Suite/Test radio button to run a particular or all the tests of a suite.
  • Select Pattern radio button to run all the tests matching a particular pattern.
Suite In this text box, specify the name of a suite. This option is available only when the Suite/Test radio button is selected.
Test From this drop down list, select the desired test. This option is available only when the Suite/Test radio button is selected.
Pattern In this text box, specify the pattern name. This option is available only when the Pattern radio button is selected.
Program argumentsIn this text box, type a list of arguments to be passed to the program in the format you would use in the command line. If necessary, click the icons general expandComponent svg button and type the desired arguments in the Program Parameters dialog box.
Working directoryIn this text box, specify the current directory to be used by the running application. This directory is the starting point for all relative input and output paths. By default, the field contains the directory where the project file resides. To specify another directory, click the Browse button browseButton select the directory in the dialog that opens.

Click the run debug listView icon icon to view the list of available path variables that you can use as a path to your working directory. In this case you do not need to specify any additional environment variables in the Environment variables field.

Environment variablesClick Browse browseButton.png to open the Environment Variables dialog box, where you can create variables and specify their values.

Note that you can copy-paste the contents of the Environment variables field without having to open the Environment Variables dialog box.

Last modified: 18 September 2018

See Also