WebStorm 2016.3 Help

Creating Run/Debug Configuration for Tests

On this page:

Introduction

You can run your tests (test cases, test suites, etc.) using run/debug configurations, in the way similar to running ordinary applications. WebStorm provides a framework for creating special run/debug configurations for testing purposes, where a test can be specified as a target.

Creating a test configuration

To create a test configuration

  1. Open the Run/Debug Configuration dialog box by doing one of the following:
    • On the main menu, choose Run | Edit Configurations.
    • Press Shift+Alt+F10 and choose Edit Configuration on the context menu.
  2. Click /help/img/idea/2016.3/new.png on the toolbar and select the desired configuration type:
  3. In the dialog box that opens, specify the test scope, configuration parameters, and activities to perform before test execution. Apply the changes and close the dialog box.

See Also

Last modified: 22 March 2017