phpautotest is a tool for testing PHP-driven Web sites. It has to be walked through your Web site once, and it can then follow the same steps and report whether the pages did not work as expected. Variable values as well as HTTP output can be tested. HTTP output is tested using regular expressions.
http://community.phpmagazine.net/upload/2006/05/phpautotest-thumb.png
The application is web-based, and require a mysql database. To get it work there is first an install.php script, then
1. Use a browser to go from page to page, your every move is watched and copied by phpautotest.
2. Set up various tests for HTML output as well as PHP variables.
3. Break your web-site (a.k.a caffiene fuelled late night bug fixes).
4. phpautotest follows the same steps you did and reports whether the pages work as expected.