At the RubyMine level, JavaScript browser-side unit testing is supported through the JSTestDriver plugin.
This plugin does the following:
-
Runs the JSTestDriver server that captures an opened browser to execute tests in.
-
During the test creation, detects the unit testing framework the test code complies with,
whereupon suggests the Add <test framework> support intention action,
provided that the framework is recognized as a RubyMine JavaScript library and is thus available in the IDE.
At the project level, JavaScript unit testing is supported through integration with JavaScript unit testing frameworks:
In this section: