phpunit

PHPUnit is a unit testing framework for the PHP programming language. It is an instance of the xUnit architecture for unit testing frameworks that originated with SUnit and became popular with JUnit. [read more at http://en.wikipedia.org/wiki/PHPUnit]