I like having a structured way to write my tests. It makes them quicker to write and prevents you from overlooking important test cases. But not everything can be boiled down to a neat and tidy rule.
In the latest episode of the No Compromises podcast, we talk about a recent project with a multi-tenant architecture and how it caused us to think differently about how we layered our tests and what the requests look like.
- 00:00 Debating authentication vs. tenant header priority
- 02:15 Handling unusual requirements in request tests
- 05:00 Navigating multi-layer middleware concerns
- 08:30 Balancing thoroughness and test coverage
- 12:00 Silly bit
And after listening, don't forget to subscribe to the podcast, so you don't miss future episodes.
Here to help,
Joel
P.S. Want to join the next Mastering Laravel dev call? Join the community and get notified when the next call is scheduled.