Published On Mar. 12th 2014

Laravel, PHPSpec, and Refactoring

Run Time 15:14

Download

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.