Test Configuration

Configuration of test cases is defined in a standard PHPUnit Configuration file. This allows to specify bootstrap script, timeouts, location of the test files, error handling and other PHPUnit framework options.

See writing a test case for more details.

Configuration Files

Test Explorer (in the menu Test / Test Explorer) lists all the available tests suites by looking in phpunit.xml and phpunit.xml.dist configuration files within all the opened projects.

By default, there should be a single phpunit.xml file in the root of PHP project with the following text:

    <testsuite name="My Test Suite">

Customize the file according to the PHPUnit documentation.