RubyMine 2019.3 Help

Rerunning tests

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

Rerun a testing session

Press Ctrl+F5 or click the Rerun button the Run button on the toolbar of Test Runner tab.

Note that you can rerun the tests automatically.

Rerun an individual test

In the Test Runner tab, right-click a test case node or a test and select Run <test_target>.

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 the Toggle Auto-Test button in the Run toolbar of the Test Runner tab is pressed.

  • Press the Toggle auto-test button the Toggle Auto-Test button on the Run toolbar of the Test Runner tab.

  • For Mocha and Jest, add the --watch flag in the Extra Mocha options/Extra Jest options field of the Run/Debug Configuration: Mocha or Run/Debug Configuration: Jest dialog respectively.

Rerunning failed tests

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

Failed tests

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

Rerun failed tests
Last modified: 5 December 2019