Testing
PhpStorm provides support for several PHP testing frameworks: you can create, manage, execute, monitor, and terminate tests from within the IDE. For more information about working with each of them, refer to the framework-specific guides.
In addition, PhpStorm supports working with PHPT tests, which serve for testing the PHP interpreter itself. For more information, refer to PHPT tests support.
Create and run tests on PHP applications
Generate tests and mark the folder where they are stored as the test folder.
Depending on whether you want to run your tests locally or remotely, configure a local or a remote PHP interpreter.
Enable support for your test framework on the Test Frameworks settings page. If you install a test framework with Composer, PhpStorm will configure it automatically.
Create or edit a run configuration for tests.
Launch the tests and monitor test results in the Run tool window.