PhpStorm 8.0.2 Web Help

Testing PHP Applications

The topics in this part provide guidelines in PHP-specific unit testing procedures. For general information on testing in PhpStorm, see the section Testing.

PhpStorm supports unit testing of PHP applications through integration with the PHPUnit tool.

Generally, PhpStorm runs and debugs PHPUnit tests same way as other applications, by running the run/debug configurations you have created. When doing so, it passes the specified test class, file, or directory to the test runner. You can run unit testing locally and remotely depending on the chosen run configuration.

To create and run unit tests on php applications, perform the following general steps:

See Also

Last modified: 10 December 2014