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

Arnold Daniels' Blog: Migrating from PHP4 to PHP5: A strategy for hosts

DZone.com: Testing PHP scripts

Zend Developer Zone: Sebastian Bergmann on ZendCon and PHPUnit 3

Sebastian Bergmann\'s Blog: PHPUnit Talk at PHP Usergroup Munich

Robert Basic: Unit testing Zend Framework 2 modules


Community Events











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


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

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