News Feed
Sections




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

Chris Hartjes:
5 Minute TDD
August 17, 2012 @ 09:10:05

Chris Hartjes, a big proponent of testing (unit and otherwise) in the PHP community has put together a screencast to show just how easy it can be to get started with TDD (test-driven development) in PHP.

I want to talk about test driven development and show you in five minutes how to set up.

His example uses a common problem - the FizzBuzz test - and shows how to write a simple test to check the output of his "process()" method that it matches his expected results. It's a simple example, but a great (realtime) primer to how the TDD process works.

0 comments voice your opinion now!
tdd testdriven video tutorial screencast fizzbuzz


blog comments powered by Disqus

Similar Posts

David Stockton's Blog: Using local configuration files in Zend Framework

Codeception.com: Headless Browser Testing with Selenium2 and PhantomJS

Ryan Gantt's Blog: Horizontal reusability with traits in PHP 5.4

ZendCasts.com: Logging in Users using Doctrine and Zend_Auth

Dylan Tack's Blog: Deployment with Capistrano (Drupal)


Community Events

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


interview version security laravel unittest example community release api opinion voicesoftheelephpant series extension framework podcast php7 language introduction library laravel5

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