News Feed
Sections




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

Community News:
The Grumpy Programmer's PHPUnit Cookbook Released
March 05, 2013 @ 10:17:15

Chris Hartjes (aka the "Grumpy Programmer") has written a second book that aims to teach you even more about writing testable applications. Where his first book taught the basics of making apps testable, this new book - The Grumpy Programmer's PHPUnit Cookbook provides code examples showing how to solve some of the common problems you'll come across when testing your applications.

You know you need something better, but time just doesn't seem to be on your side. Making things "right" is costly and you need to deliver working code NOW. Tests would be great but there are real deadlines to meet. You can't stop development and churn away for hours just to add tests around what you know already works. [...] No longer would you dread the bug reports. You'd happily make changes knowing that your safety net is there. You'd try out new features guiding yourself with tests.

The book covers some more advanced topics than you might have seen in the previous book including data providers, test doubles, faking test data (or using external sources) and writing tests for APIs, databases and exceptions. If this sounds interesting to you, you can pick up your own copy of the book on his site (or try out the sample first).

0 comments voice your opinion now!
book phpunit unittesting cookbook published


blog comments powered by Disqus

Similar Posts

Mike Purcell's Blog: PHPUnit - How to Run PHPUnit Against a Specific Test

Zend Developer Zone: PHP Abstract Podcast Episode 33: Book Review: PHP Web 2.0 Mashup Projects

Sebastian Bergman\'s Blog: PHPUnit Support in PHPEclipse

Sebastian Bergmann's Blog: IDE Support for PHPUnit

SitePoint.com: Be More Asssertive: Getting to Know PHPUnit's Assertions


Community Events





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


series artisanfiles symfony version community tool interview release security composer language podcast opinion voicesoftheelephpant library list introduction conference framework laravel

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