In this dialog, set custom PHPUnit properties for your project.
Use bootstrap. A custom bootstrap file is required for projects
that use a custom class loader, for example by implementing the __autoload()
magic function.
You also use the bootstrap option if you need to include a file in advance,
such as a file that defines global constants used by multiple classes
in your project.
Browse... Browse your file system for the custom bootstrap
file.
Generate. Click to generate a skeleton bootstrap file.
Use XML Configuration. The XML configuration file allows you
to define options that you use in a command line call. There
is a complete introduction in the PHPUnit manual. You can also use the
XML configuration file to define php.ini settings and global vars for
your test cases. You can set the bootstrap option in the XML configuration
file too.
Browse... Browse your file system for the custom bootstrap
file.
Generate. Click to generate a skeleton XML Configuration file.
Use Custom Test Suite. If you set a custom test suite, you run that
suite whenever you select Run >Test Project. This is particularly useful
when you wish to run only a subset of your tests, or if you want to use
recently added features of PHPUnit that you have to add manually, such as
Data Providers.
Note that you may define as many test suites as you
want and run them separately. To run a test suite, right-click the test
suite file in your project explorer and choose "run".
Browse... Browse your file system for the custom bootstrap
file.
Generate. Click to generate a skeleton test suite.
Run All *Test Files Using PHPUnit. Forces the IDE to run all files with the name *Test.php using PHPUnit, regardless of the file's location in the project. When this option is not enabled, only files in the Test Files folder are run using PHPUnit.
Ask For Test Groups Before Running Tests. Select this if you are using test groups and you want the IDE to prompt you for which test groups to run before running the tests. Add test groups to your code with the @Group variable.
/**
* @group production
* @group development
*/
[Test method]