Prerequisites
Note
-
The PHPUnit
tool is installed
on your machine
and enabled in PhpStorm.
- A XDebug or Zend Debugger debugging engine is configured in the current PHP interpreter.
- Open the project settings.
- Specify coverage options on the Coverage page.
- Write the tests manually.
- Create a run configuration of the type PHPUnit.
-
On the main toolbar, select the PHPUnit run configuration in the Run/Debug Configurations drop-down list
and click the Run with Coverage button
.
- Monitor the code coverage in the Coverage tool window.
