Setting Up and Using PHPUnit

(PhPUnit)
(PhPUnit)
Line 1: Line 1:
== PhPUnit==
== PhPUnit==
 +
 +
In the last decade, PHP has developed from a niche language for adding dynamic functionality to small websites to a powerful tool making strong inroads into large-scale, business-critical Web systems. Financial institutions such as banks and insurance companies use PHP, for instance, to develop and maintain solutions for Basel II Credit Rating. Critical business logic like this needs to work correctly. To make code testing viable, good tool support is needed. This is where PHPUnit comes into play. It provides both a framework that makes the writing of tests easy as well as the functionality to easily run the tests and analyse their results.
 +
But how do you ensure that it does? You test it, of course.
 +
For further information about [[http://www.phpunit.de/ PhPUnit]].
Hack if your dont have pear installed: [http://pear.phpunit.de/get Download pear if not installed on your computer]
Hack if your dont have pear installed: [http://pear.phpunit.de/get Download pear if not installed on your computer]
Then you can download the lastest <b>tgz</b> file of PhPUnit:
Then you can download the lastest <b>tgz</b> file of PhPUnit:

Revision as of 16:36, 21 June 2007

PhPUnit

In the last decade, PHP has developed from a niche language for adding dynamic functionality to small websites to a powerful tool making strong inroads into large-scale, business-critical Web systems. Financial institutions such as banks and insurance companies use PHP, for instance, to develop and maintain solutions for Basel II Credit Rating. Critical business logic like this needs to work correctly. To make code testing viable, good tool support is needed. This is where PHPUnit comes into play. It provides both a framework that makes the writing of tests easy as well as the functionality to easily run the tests and analyse their results. But how do you ensure that it does? You test it, of course. For further information about [PhPUnit].

Hack if your dont have pear installed: Download pear if not installed on your computer Then you can download the lastest tgz file of PhPUnit: