Here’s a tutorial from Sebastian Bergmann on how to perform testing on PHP code using PHPUnit. The article covers Automated Tests, Testing with PHPUnit and what PHPUnit has to offer.
The release of PHP 5 in July 2004 marked a significant leap in PHP’s evolution–it enabled the development of large-scale applications to leverage the productivity, maintainability, and reusability of object-oriented design. While the language features introduced in PHP 5 are vital for this, the development of large-scale applications requires additional tools and techniques to be viable.
PHPUnit is such a tool. It supports the development of object-oriented PHP applications using the concepts and methods of Agile Programming, Extreme Programming, Test-Driven Development, and Design-by-Contract Development by providing an elegant and robust framework for the creation, execution, and analysis of unit tests.
Link: ONLamp.com: Testing PHP Code with PHPUnit
via www.sebastian-bergmann.de
