News Feed
Jobs Feed
Sections




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

PHPMaster.com:
Thoughts of a Pragmatic Tester
March 29, 2012 @ 13:43:02

On PHPMaster.com today there's a new article with some thoughts of a pragmatic tester - some thoughts from Michael Bodnarchuk about both unit and functional testing.

Here's how it usually plays out: the developer thinks, "I need to do unit tests, and I should use PHPUnit because it's a standard. I don't know much about it, though." Then he visits the PHPUnit site and reads the first chapter of the documentation, then the second, then the third… and is left scratching his head.

[...] Maybe something similar happened to you. Maybe not. But you really should know what to test and how to test it. Such knowledge comes from experience, so in this article I'll share some of my experience with unit testing.

The article's not so much an introduction to unit testing as it is some of the experiences he's had around testing his applications both at the code level and from a functional perspective. He also mentions some alternatives to the standard PHPUnit testing like Atoum and EnhancePHP.

0 comments voice your opinion now!
pragmatic testing unittest functionaltest phpunit


blog comments powered by Disqus

Similar Posts

Sebastian Bergmann's Blog: RC2 Is The New RC1 (PHPUnit)

Lukas Smith's Blog: QA in the PHP world

Stefan Koopmanschap's Blog: Dutch PHP TestFest big success

Christopher Jones' Blog: OSCON, PHP 5.2 Windows Installer, and Testing

Sebastian Bergmann's Blog: The German Edition Started Shipping!


Community Events











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


opinion podcast composer facebook release package overview language component introduction code unittest hhvm symfony2 install hack framework security application threedevsandamaybe

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