Laravel Lazy Database Refreshing

Here’s a small, but very useful new addition to Laravel. The default TestCase class now includes a new LazilyRefreshDatabase trait, which will only refresh your database if the current test touches the database. Watch thousands of programming lessons, track your progress, and participate in a massive Laravel community at Laracasts. Laracasts: Laracasts Twitter: Jeffrey Way Twitter:
Back to Top