News 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

Codeception Blog: Introduction to Codeception

PHPMaster.com: Getting Started with PHPUnit

Dagfinn Reiersol's Blog: Don't refactor without unit tests

Brian Moon's Blog: PHP Template tests (and Blitz)

Xebee Blog: Test Driven Development with Zend Framework and PHPUnit


Community Events





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


code bugfix zendserver list symfony introduction voicesoftheelephpant language release deployment api conference interview threedevsandamaybe community framework tips series laravel podcast

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