Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

JsTestDriver IntelliJ Plugin is the open-source project under the terms of Apache License 2.0.

WebStorm 3.0 bundles it.

Users of other JetBrains IDE – PhpStorm, IntelliJ IDEA, PyCharm, RubyMine and AppCode – can install it from the plugin repository following these instructions.

Features

It allows you to enjoy all the benefits of JsTestDriver right from the comfort of your IDE. This includes the following features:

  • starting and stopping the server;
  • running and rerunning tests;
  • filtering and viewing test results, navigation from results to source code;
  • jumping from JavaScript exception stacktrace to source code;
  • support for JsTestDriver configuration file: syntax and error highlighting, basic completion, navigation to referenced files;
  • capturing messages sent to console.log();
  • support for Jasmine, QUnit and JsTestDriver built-in assertion frameworks:
    • quick-fixes for enabling global symbol reference resolving for each assertion framework (if you have QUnit or Jasmine tests in a project, you will be prompted to install the corresponding adapter);
    • contextual code generation actions (Alt+Insert) for creating new tests, setup and teardown methods for each assertion framework;
    • declarative HTML injection support for JsTestDriver built-in assertion framework.

Installation

WebStorm 3.0 bundles it. Check out WebStorm 3.0 EAP.

Users of other JetBrains IDE – PhpStorm, IntelliJ IDEA, PyCharm, RubyMine and AppCode – can install it from the plugin repository following these instructions.