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:
Better Workflow in PHP With Composer, Namespacing, and PHPUnit
January 21, 2013 @ 10:49:15

On NetTuts.com there's a new screencast posted showing you a good way to create a better workflow in your PHP development using Composer and PHPUnit.

In this video tutorial, we'll again focus on workflow. Specifically, we'll use Composer's built-in autoloading capabilities, along with namespacing, to make for an elegant testing experience. We'll also review a handful of PHPUnit best practices, as we get setup with these tools.

He shows you how to use Composer to load in the packages from other projects (as well as your own) and using PHPUnit to execute unit tests for your application. He uses test-driven development, but it's not a required part of the workflow. He helps you create a simple "Calculator" test. He also shows how to manually modify the Composer classmap to load in your own classes.

0 comments voice your opinion now!
workflow screencast phpunit composer namespace tdd unittest


blog comments powered by Disqus

Similar Posts

Sebastian Bergmann\'s Blog: PHPUnit Support in PHP IDEs

Michelangelo van Dam's Blog: Quality Assurance on PHP projects - PHPUnit part 2

NetTuts.com: Better Workflow in PHP With Composer, Namespacing, and PHPUnit

Adam Culp: PHPUnit, Composer, PHPStorm, Oh my!

HHVM Blog: We are the 98.5% (and the 16%)


Community Events





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


language wordpress list developer configure interview unittest release threedevsandamaybe application code series introduction api symfony library laravel install podcast community

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