News Feed
Sections




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

NetTuts.com:
Hands-On Unit Testing With PHPUnit (Screencast)
September 27, 2012 @ 10:11:16

On the NetTuts.com site today there's a new screencast posted (by Jeffrey Way) that gives you a hands-on look at using PHPUnit to write and execute tests on your code.

In this screencast, we'll build a relatively simple class, using TDD techniques. Along the way, we'll discuss various PHPUnit methods, how to create mock objects, and more! I encourage you to work along; it's the best way to learn!

If you're new to unit testing this is a good way to start. He uses the Laravel framework as a base for the testing and a TDD (test-driven development) approach. Once you've gotten your feet wet following along with the screencast, you can go over to the PHPUnit site for more details.

0 comments voice your opinion now!
unittest phpunit screencast tutorial


blog comments powered by Disqus

Similar Posts

HowTo Forge: Installing Lighttpd With PHP5 And MySQL Support On Fedora 7

Federico Cargnelutti's Blog: Format a time interval with the requested granularity

Zend Developer Zone: Implementing a Stemming Analyzer for Zend_Search_Lucene

HowTo Forge: Intrusion Detection For PHP Applications With PHPIDS

Community News: Latest PEAR Releases for 05.05.2014


Community Events





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


series install community package interview language tips release framework podcast deployment laravel introduction list voicesoftheelephpant opinion bugfix api library symfony

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