View and explore test results
After you run a test, the Run tool window displays the Test Runner tab with the results of your testing session. On this tab, you can view statistics of the tests, navigate to stack trace, show or hide successful tests, and more.
To view the execution time for tests, click on the toolbar and click the Show Inline Statistics option.
View assertEquals difference
If a unit test contains string
assertEquals failures, the IDE enables you to view differences between the compared strings.
Right-click the necessary test and select Differences viewer.from the context menu. You will be able to compare strings in the dedicated
View results of previous tests
WebStorm automatically saves results of the last 10 tests. To open the list of recent tests:
Export and import test results
Export test results to a file
Click on the test runner toolbar, select the format in which you want to save the file, and specify its name and location.
If you want to open this file later in WebStorm, use the XML format.
To load the previously exported file, click Import Tests from File and then select the required XML file in the dialog that opens.