CLion 2018.1 Help

Rerunning Tests

You can repeat your test session, or individual tests without leaving your test runner tab of the Run tool window. The tests are performed again using the same run configuration as in the initial run.

Rerunning a testing session

Do one of the following:

  • Click the rerun button run on the toolbar of the Run tool window.
  • Use Ctrl+F5 keyboard shortcut.

Note that you can rerun the tests automatically.

Rerunning an individual test

  1. In the testing tab of the test runner, right click a test case node or a test.
  2. On the context menu, choose Run <test target>.

Rerunning a failed test

  1. In the testing tab of the test runner, select a failed test.
  2. In the Run toolbar, click Rerun Failed Tests rerunFailedTests.png.

Debugging a failed test

  1. In the Test Runner tab, press Shift and click Rerun Failed Tests rerunFailedTests.
  2. Select Debug from the Restart Failed Tests popup.

The tests that have failed will be rerun in the debug mode.

Last modified: 24 July 2018

See Also

Reference: