Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Developer Tutorials Blog:
SimpleTest: Unit Testing for PHP
Jul 15, 2008 @ 15:24:54

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.

tagged: simpletest unittest example introduction test quickstart tutorial

Link:


Trending Topics: