News Feed
Sections




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

Zend Developer Zone:
Unit Testing Strategies
October 25, 2010 @ 08:52:18

On the Zend Developer Zone there's a new article from Keith Casey looking at some of the "best practices" when it comes to writing unit tests for your applications.

If we are starting from absolutely nothing, building tests as we go is a near-trivial process. [...] Unfortunately, most of us don't have this situation. We walk into a project with documentation ranging from non-existent to seemingly-useful-but-really-out-of-date, and hundreds of thousands of lines of code, and the coding standards and practices of every developer that has come before us. In this situations, the above Unit Test example is almost mocking us. We can't start that simply! Or can we?

He walks through some of the steps he and another project lead took to start their trip into testing - finding the most problematic bits of code first (based on bugs in the tracker) and testing them, figuring out how to test rapidly changing code, finding common code used in several places and testing that and

0 comments voice your opinion now!
unittesting strategy example process


blog comments powered by Disqus

Similar Posts

Fabien Potencier's Blog: PHP Iterators and Streams are awesome

PHP Thinktank Blog: AJAX with Elazar (IRC Talk Series)

Bit-Tech.net Formus: PHP "raycaster" 3D renderer

Luc de Brouwer's Blog: Never having to use $_GET or $_POST again

Community News: PHP-FIG Voting on PSR-4 Opened


Community Events

Don't see your event here?
Let us know!


laravel language voicesoftheelephpant extension list unittest example opinion introduction version library release podcast php7 api community laravel5 interview framework series

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework