Akash Mehta has posted a look at unit testing for PHP applications with the SimpleTest tool in a new post to the Developer Tutorials blog.
We recently looked at front-end testing of web applications with Selenium. Today, we'll take another approach to testing your PHP applications: backend unit testing for your actual PHP code. As part of our posts on test driven development, here's a quick intro to using SimpleTest to test your PHP applications.
He introduces the SimpleTest software and shows what a sample test might look like for a simple math question (testing to see if the result of the addition is correct). He also points out a good tutorial on the SimpleTest website to help you get started.