Black Friday: the Laravel testing course is $149 instead of $249, through Dec 7. See the course →
logo

Are you testing your app or just the framework?

A simple litmus test for your test suite

Joel Clermont
Joel Clermont
2026-03-23

From our daily Laravel tips email. Get the next one in your inbox.

Have you ever written a test that could never fail, no matter what you changed in your own code?

In the latest episode of the No Compromises podcast, Aaron and I dig into a question that changed how we think about our test suites. We share a simple litmus test. If you cannot make a test fail by changing something in your application code, it probably should not be in your test suite.

We walk through specific examples, including validation rules, and explain how different test types shape the way you think about what is worth testing.

  • 00:00 Are we testing code or framework
  • 02:00 Joel's 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

Listen Now (13 min)

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 get even better at writing tests that actually matter? Check out our testing workshop.

Want a tip like this in your inbox every weekday?

Each one takes less than 2 minutes to read. Join 4,000+ Laravel developers who already get them.

email
No spam. Only real-world advice.
Toss a coin in the jar if you found this helpful.