PhpStorm 2021.1 Help

JSTestDriver server tool window

View | Tool Windows | JSTestDriver Server

Start a local server- Start a local server link.

In this tool window, start and stop the JSTestDriver Server to run unit tests against and capture the browser to execute unit tests in.

Prerequisites

The tool window becomes available when the following prerequisites are met:

  1. The JSTestDriver plugin is downloaded, installed, and enabled. The JSTestDriver plugin is not bundled with PhpStorm, but it can be installed on the Settings/Preferences | Plugins page, tab Marketplace, as described in Installing plugins from JetBrains repository.

  2. The current project contains at least one test runner configuration files.

Options

ItemTooltip and shortcutDescription
the Run buttonRun a local serverClick this button to have PhpStorm launch the default JSTestDriver server.
the Stop buttonStop the local serverClick this button to have PhpStorm stop the currently running JSTestDriver server.
Capture a browser using the URLThis read-only field shows the URL address to access the Remote Console of the JSTestDriver. Copy the URL address and open it in the browser of your choice.
the PhpStorm icon Chrome Firefox Safari Opera Internet Explorer EdgeThe icons indicate available browsers. The icon that corresponds to the browser you just opened, is active. Click the icon to get ready for executing tests.
Last modified: 15 March 2021