Getting PHPSpec to work with Laravel
I’ve recently started using PHPSpec to drive my testing efforts in a new Laravel project. The behaviour-driven approach makes a lot of sense to me but I am finding it a little difficult to master.
This post provides a fix if you find PHPSpec throwing Class not found
errors after running your test suite on the command line.