PHPUnit
Preferences
The PHPUnit Preferences page allows you to configure your PHPUnit Library
Path and set the PHPUnit's communication port.
PHP Unit tests are a way of constantly testing your code to ensure
the right output is being generated each time.
For more on PHP Unit Testing, see the PHPUnit
Testing Tutorial.
The PHPUnit
Preferences page is accessed from Window | Preferences | PHP | PHPUnit.
Configuring Your PHPUnit Settings
|
|
|
To configure your PHPUnit settings:
-
Configure the location of your PHPUnit library.
- Set the communication
port which will be used when PHPUnit Tests are run. The default
port number is 7478. Ensure that the selected port is not
already in use.
-
Mark the 'Collect
Code Coverage statistics' checkbox to enable code coverage
while running unit tests.
-
Mark the 'Create
XML File' checkbox to enable XML file generation and click
Browse in the Report Location option to select the location
in which they will be created. XML files can later be generated
into reports from the PHPUnit Test results view by clicking
. See Reporting
on PHPUnit Test Results for more information.
-
Click OK to apply
your settings.
|
|