Back to the Learning

Back to the Learning!

Laracasts is packed full with over 1,000 lessons just like this one.
Sign up to get full access or log in to your account and sit back.

The Unit Testing Facades Conundrum

Run Time 15:08

Laravel facades (or surrogates) can be tremendously useful, but be careful about smattering them everywhere in your application. Not only will doing so force a hidden dependency on the Laravel application, but it also makes your tests significantly more difficult to prepare.

This lesson was published on March 28, 2014.