Run toolbar
| Item | Tooltip and Shortcut | Description |
|---|---|---|
|
Rerun Ctrl+F5Control F5 |
Click this button to rerun the current process.
Note The process reruns always in the same console regardless of whether this console is pinned or not. |
|
|
Toggle auto-test | If this button is pressed, the
autotest-like runner
is turned on. It means that the test in the current run configuration tab will automatically
rerun on changing its source code. Otherwise, to rerun such test, you have to click the rerun
button .
|
|
Stop Ctrl+F2Command F2 |
Click this button to terminate the current process externally by means of the standard mechanisms. |
|
Layout | Click this button to choose a layout of the toolbars by selecting the desired option from the pop-up menu. |
|
Pin | When this button is pressed, the current tab will not be overwritten; instead, the results of the next command will be displayed in a new tab. |
|
Ctrl+Shift+F4Command Shift F4 | Click this button to close the selected tab of the Run tool window and terminate the current process. |
|
F1F1 | Click this button to show reference. |
Testing toolbar
| Item | Tooltip and Shortcut |
Description |
|---|---|---|
|
|
Hide Passed | Press this button, to have RubyMine show only the failed tests or the tests that encountered problems in the left-hand pane. If this button is not pressed, all tests are displayed in the tree view. |
4.0+![]() |
Sort alphabetically | Click this button to sort tests in alphabetical order. |
|
Expand All/Collapse All Ctrl+Add Command Add or Ctrl+Equals Command EqualsCtrl+Subtract Command Subtract or Ctrl+Minus Command Minus |
Click these buttons to have all nodes in the tree view of tests expanded.
Note These buttons are only available if the tested application contains more than test case. |
![]()
|
Previous/Next Failed Test Ctrl+Alt+UpCtrl Alt Up/Ctrl+Alt+DownCtrl Alt Down |
Click this button to navigate between the failed tests. |
|
Export Test Results | Click this button to have the results of the selected test saved in a file. |
|
|
Click this cog button to access the context menu with the following options:
|
|
Test status icons
| Icon | Description |
|---|---|
|
Test error. |
|
Test failed. |
|
|
|
Test in progress. |
|
Test passed successfully. |
|
Test paused. |
|
Test terminated. |
|
Test not run. |
Output pane
This pane shows output of each test, generated at runtime, including all the messages sent to the output stream, and the error messages. The following table shows the toolbar buttons and context menu commands available for the Output pane.
| Item | Keyboard Shortcut | Description |
|---|---|---|
|
Up the Stack Trace Ctrl+Alt+UpCtrl Alt Up |
Click this button to navigate up in the stack trace and have the cursor jump to the corresponding location in the source code. |
|
Down the Stack Trace Ctrl+Alt+DownCtrl Alt Down |
Click this button to navigate down in the stack trace and have the cursor jump to the corresponding location in the source code. |
|
|
Use Soft Wraps | Click this button to toggle the soft wrap mode of the output. |
|
Scroll to the end | Click this button to navigate to the bottom of the stack trace and have the cursor jump to the corresponding location in the source code. |
| Clear All | Choose this item on the context menu to have all messages for the selected test deleted. | |
| Copy Content | Ctrl+C Command C or Ctrl+Insert Command Insert | Choose this item on the context menu to have the current contents of the Output pane placed to the Clipboard. |
| Compare with Clipboard | Choose this item on the context menu to invoke theDifferences Viewer which shows the current contents of the Clipboard in the left-hand pane and the contents of the Output pane for the selected test in the right-hand pane. pane. |
Statistics pane
This pane shows how long it took to execute a test suite and the number of passed and failed tests within it. You can have information in columns shown in the ascending or descending order by clicking the column headers.
To view statistics on each test separately, double click the test suite which contains the desired test. The pane shows a list of all the tests in the selected suit.
The Context menu commands are the same as for the tree view of tests.
| Column name | Description |
|---|---|
| Test | Name of the test class or test method. |
| Time elapsed | The number of seconds spent to to execute this test. |
| Results | This column shows summary information about the test execution results. For individual tests, the column shows the pass or fail status. For test case or test suites, the column shows the number of failed and passed tests within it. |
Context menu commands
| Command | Keyboard shortcut | Description |
|---|---|---|
| Jump to Source | F4F4 | Choose this command to move the focus to the editor, to the definition of a test class, or test method. |





