Environment and development tools: Difference between revisions

Line 155: Line 155:


=== From Command Line ===
=== From Command Line ===
'''Instal PHPUnit'''
==== Instal PHPUnit ====
* Download a release archive from http://pear.phpunit.de/get/ and extract it to a directory that is listed in the include_path of your php.ini configuration file.
* Download a release archive from http://pear.phpunit.de/get/ and extract it to a directory that is listed in the include_path of your php.ini configuration file.
* Prepare the phpunit script:
* Prepare the phpunit script:
Line 166: Line 166:
* Module xdebug can also be required if you plan to make reporting of test code covering.
* Module xdebug can also be required if you plan to make reporting of test code covering.


'''Execute PHPUnit tests'''
==== Execute PHPUnit tests ====
* Go into directory '''/test''' of CVS version. Read file '''README''' to know the process to execute a unit test campaign.
* Go into directory '''/test''' of CVS version. Read file '''README''' to know the process to execute a unit test campaign.