RubyMine 5.4.0 Web Help

To get access to this dialog box:

  1. Download and install the NodeJS framework.
  2. Download and install the nodeunit testing framework

In this dialog box, create configurations to run unit tests for NodeJS applications.

This section provides descriptions of the configuration-specific items, as well as the toolbar and options that are common for all run/debug configurations.

ItemDescription
Node path In this field, specify the NodeJS installation home. Type the path to the NodeJS executable file manually, or click the Browse button browseButton.png and select the location in the dialog box, that opens.

If you have appointed one of the installations as default, the field displays the path to its executable file.

Working directory In this text box, specify the folder to find tests under. This can be the project root folder or the parent directory for the test folder. Type the path to the NodeJS executable file manually, or click the Browse button browseButton.png and select the location in the dialog box, that opens.
Run From this drop-down list, choose the scope of tests to execute. The available options are:
  • All JavaScript test files in the directory: choose this option to to have RubyMine run all the test files in a folder. In the Directory text box below, specify the path to the test folder relative to the working directory.
  • JavaScript test file: choose this option to have a specific test executed. In the JavaScript test file text box, type the path to the file relative to the working directory.

See Also

Concepts:

Procedures:

Web Resources:

JavaScript Support: