CLion 2020.2 Help

Run/Debug Configuration: Catch

Run | Edit Configurations | Add New Configuration | Catch

Use this page to configure run/debug options for the Catch testing framework.

Common

When you edit a run configuration (but not a run configuration template), you can specify the following options:

Item

Description

Name

Specify a name for the run/debug configuration to quickly identify it when editing or running the configuration, for example, from the Run popup Alt+Shift+F10.

Allow parallel run

Select to allow running multiple instances of this run configuration in parallel.

By default, it is disabled, and when you start this configuration while another instance is still running, CLion suggests to stop the running instance and start another one. This is helpful when a run/debug configuration consumes a lot of resources and there is no good reason to run multiple instances.

Store as project file

Save the file with the run configuration settings to share it with other team members. The default location is .idea/runConfigurations. However, if you do not want to share the .idea directory, you can save the configuration to any other directory within the project.

By default, it is disabled, and CLion stores run configuration settings in .idea/workspace.xml.

Configuration tab

ItemDescription
Test kind
  • Select the Tags/Test radio button to run the test for a particular tag or all the tags.

  • Select the Pattern radio button to run all the tests for a particular pattern.

Pattern This option is available only when the Pattern radio button is selected.
To run specific tests, specify their names separated by a comma:
thisTestOnly,andThisTest
The above line in the Patterns field specifies two tests to be run. To run all the tests in a file, specify the file name, prepended by a hash sign and enclosed in square brackets:
[#basic_check]
For details on the patterns syntax, refer to the original documentation.
Tags In this text box, specify the tags of the test cases or leave it blank to use all the tags.
Last modified: 08 September 2020