PHPUnit
Preferences
The PHPUnit Preferences page allows you to see 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.

The PHPUnit Library Path displays the location of your PHPUnit Library.
These settings cannot be changed.
|
|
|
|

|
To configure your PHPUnit settings:
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 'Generate XML Report'
checkbox to enable XML Report generation and click Browse in the Report
Location option to select the location in which they will be created.
XML reports allow you to create reports of your Unit Test results.
See Reporting on PHPUnit Test
Results for more information.
Click OK to apply your settings.
|
|
|