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.
In addition to the regular test configuration creation, WebStorm supports creating test configurations for specific targets, for example for all tests in a file, class, or directory.