Viewing and Exploring Test Results
After you run a test, the Run tool window will display the 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 results of previous tests
PhpStorm automatically saves results of 10 last tests.
- To view them, click the icon, and select the necessary test from the list. For each test, the list displays the run configuration name and a time stamp.
You can also export test results to a file if you want to keep them or share with your team.
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 PhpStorm, 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.