Testing
This section covers the issues that are common for all the supported testing frameworks:
- Creating Run/Debug Configuration for Tests
- Performing Tests
- Monitoring and Managing Tests
- Rerunning Tests
- Terminating Tests
- Viewing and Exploring Test Results
For the framework-specific testing procedures, refer to the sections:
To create and run unit tests on PHP applications, perform the following general steps:
- Enable PHPUnit support.
- Write unit tests and mark the folder where they are stored as test folder.
-
Create a run configuration:
- To run unit tests locally, create a PHPUnit configuration.
- To run unit tests on a remote server, create a PHPUnit by HTTP configuration.
- Launch unit tests and monitor test results in the Run tool window.
In this part:
- Creating Run/Debug Configuration for Tests
- Performing Tests
- Monitoring and Managing Tests
- Rerunning Tests
- Terminating Tests
- Viewing and Exploring Test Results
See Also
Last modified: 24 November 2016