RubyMine 2017.2 Help

Executing Tests on Zeus Server

Basics

Running test suits sometimes involves overheads, because every time a test suit is executed, the whole environment (for example, the entire Rails environment for Rails applications) should be reloaded. You can avoid it using the Zeus server, which loads the environment only once.

With the Zeus server running in the background, you have a choice to execute any testing script using the Zeus server, or locally.

To run a test script using the Zeus server

Make sure that Zeus server is launched using RubyMine and is running in the background.

Run a test script, or one of its examples. Note that the option Zeus is automatically selected in the corresponding run configuration. If you want to run this test locally, you have to select the option None.

If you are going to run RSpec tests under Zeus server, make sure to use Zeus version 0.13.4.pre2, or higher.

To debug tests, when using Zeus, follow these general steps

Make sure the breakpoints are set in the test script you want to debug.

On the main toolbar, click the run/debug configuration selector, and choose Edit Configurations.