
Are you testing your app or just the framework?
From No Compromises by Joel Clermont and Aaron Saray
March 14, 2026 · 13 min · Episode 148
About this episode
The episode discusses the distinction between testing application logic and merely testing the framework, emphasizing the importance of meaningful tests.
Do you ever finish writing a test and wonder if it is actually proving anything about your code or just confirming that Laravel works? In the latest episode of the No Compromises podcast, we discuss how to tell the difference between tests that validate your logic and tests that merely exercise the framework. We share a practical gut check: if you cannot make a test fail by changing something in your own application code, it probably should not be in your test suite. We also look at this idea from the other direction, asking whether the code being tested is something we actually wrote. We also dig into why testing validation rules is worth the effort even when they feel boilerplate, how feature versus unit test style shapes these decisions, and why the real goal is simply getting to a place where your tests help you ask the right questions. Join the Mastering Laravel community at https://masteringlaravel.io/community 00:00 Are we testing code or framework 02:00 Joel metric for framework-only tests 05:15 Bottom-up testing perspective by test type 07:36 Why validation rules still deserve tests 10:40 Silly bit
People in this episode
Hosts: Joel Clermont, Aaron Saray
Topics covered
- testing
- Laravel
- unit tests
- feature tests
- validation rules
- software development
Keywords
- testing
- Laravel
- unit tests
- feature tests
- validation rules
- software development
- test suite
Mentioned in this episode
Organizations: Laravel, Mastering Laravel
More episodes of No Compromises
- How much logic is too much logic in a PHP enum · June 6, 2026 · 13 min
- Your codebase is not a museum for old code · May 23, 2026 · 14 min
- Do you actually own the code you ship? · May 9, 2026 · 15 min
- Do you actually need a multi-tenancy package? · April 25, 2026 · 14 min
- Local and production should match even for Laravel tools · April 11, 2026 · 13 min
- When weird code needs to explain itself · March 28, 2026 · 11 min
Explore listener stats, chart rankings, contacts and more on the No Compromises podcast page.