Test Configuration

Configuration of test cases is defined in a standard PHPUnit Configuration file. This allows specifying 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 test 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 the PHP project with the following text:

    <testsuite name="My Test Suite">

Customize the file according to the PHPUnit documentation.