While everyone is loving the features in the new Laravel 8 release this week, I just discovered something cool I missed in Laravel 7.
A couple days ago, I walked through a few potential gotchas with relationships in Laravel factories. Let’s see how it works in Laravel 8.
What’s the best way to define a relationship in your Laravel factories? I’ll share some tips that will help you avoid some common pitfalls, as well as give you a deeper insight into how factories work.
Let’s wrap up this series of tips, and show one final example when setting an explicit primary key value can improve the quality of your tests.
Yesterday I shared an example where setting explicit primary key values in your tests can make your tests more reliable. Let’s take a look at another example.
Based on the projects I’ve seen over the years, it’s a bit unusual to set an explicit primary key value when arranging the database state for a feature test. I’d like to share a few times when this strategy can make your tests more reliable.
Ever wish you could listen to Aaron and I talk about random programming topics? Well do I have some news for you.
Application Performance Monitoring (APM) is an important tool to be aware of when developing apps for production. I recently tried out Scout APM and it’s new first-class support for Laravel and PHP. Whether you’re a seasoned APM pro or have never used this tool at all, you may be interested in my findings.