Laravel, PHPSpec, and Refactoring

Run Time 15:14

Any confusion that surrounds PHPSpec likely stems from a misunderstanding of what the framework is for. There are multiple styles and forms of testing; PHPSpec is not meant to fill all of those checkboxes. Let's talk about that in this lesson, while using BDD to build a class within a Laravel app.

View the source code for this demo on GitHub.

This lesson was published on March 12, 2014.