RubyMine 5.4.3 Web Help

At the RubyMine level, JavaScript browser-side unit testing is supported through the JSTestDriver plugin. This plugin does the following:

At the project level, JavaScript unit testing is supported through integration with JavaScript unit testing frameworks:

In this section:

To enable framework-specific JavaScript unit testing in a project
  1. Download the framework of your choice.
  2. Configure the downloaded framework as a RubyMine JavaScript library.
  3. Do one of the following:
    • Add the project folder to the library scope.
    • Enable the framework support on-the-fly during test creation. Write the test as required, position the cursor at it, and press Alt+EnterAlt+EnterAlt+EnterAlt+EnterAlt+EnterAlt+EnterAlt+EnterAlt+Enter, Alt+Shift+J or Ctrl+Shift+MAlt+EnterAlt EnterAlt EnterMeta 1Alt Enter. Then choose the Add <test framework> support intention action from the list.

See Also

Procedures:

Web Resources:

Testing Support: