RubyMine 2018.2 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:

  • Press Ctrl+F5 or click icons toolwindows toolWindowRun svg on the toolbar of the Test Runner tab.

Note that you can rerun the tests automatically.

Rerunning an individual test

  • In the Test Runner tab, click a test case node or a test and select Run <test target> on its context menu.

Rerunning tests automatically

RubyMine lets you rerun run/debug configuration of a test automatically, if the source code has been changed. To enable autotest-like runner facility, make sure that the Toggle auto-test button icons actions swapPanels in the Run toolbar of the Test Runner tab is pressed.

Rerunning failed tests

RubyMine lets you rerun the failed tests only, instead of rerunning all the tests.

rm failed tests

To rerun failed tests, click the Rerun Failed Tests button icons runConfigurations rerunFailedTests.

rm rerun failed
Last modified: 6 August 2018

See Also

Reference: