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

Sebastian Bergmann's Blog: phpUnderControl

Joshua Eichorn's Blog: Testing phpDocumentor 1.3.2

Sebastian Bergmann's Blog: Data Providers in PHPUnit 3.2

Jacob Santos' Blog: What is your C.R.A.P. Index?

Sebastian Bergmann's Blog: Distributed Testing with PHPUnit 3.1


Community Events





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


update release podcast library framework community install language interview laravel opinion tool symfony version security composer introduction voicesoftheelephpant series package

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