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

Web Mozarts Blog:
Easy Unit Testing
Aug 05, 2009 @ 17:17:23

In a previous post from the Web Mozarts blog they look at unit testing your PHP applications and some of the different testing software alternatives out there to help.

Unit testing is a very important task of professional, scalable software development. Many tools exist to support unit testing in one or another way. All tools come with advantages and drawbacks. One of the best known test frameworks in the PHP world is PHPUnit. With the release of symfony, Fabien Potencier released another new testing framework for PHP: lime.

He compares them both, talking about where they came from and what sort of features they have included. He also gives some sample code for each of the frameworks and shows how a simple test would look in each.

tagged: unittest phpunit lime symfony

Link:


Trending Topics: