No Compromises

Are you testing your app or just the framework?


Listen Later

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

...more
View all episodesView all episodes
Download on the App Store

No CompromisesBy Joel Clermont and Aaron Saray

  • 4.9
  • 4.9
  • 4.9
  • 4.9
  • 4.9

4.9

8 ratings


More shows like No Compromises

View all
The Laravel Podcast by Taylor Otwell, Matt Stauffer

The Laravel Podcast

58 Listeners

Startups For the Rest of Us by Rob Walling

Startups For the Rest of Us

701 Listeners

Darknet Diaries by Jack Rhysider

Darknet Diaries

8,078 Listeners

Notes On Work - by Caleb Porzio by Caleb Porzio

Notes On Work - by Caleb Porzio

18 Listeners

The Stack Overflow Podcast by The Stack Overflow Podcast

The Stack Overflow Podcast

62 Listeners

The Bootstrapped Founder by Arvid Kahl

The Bootstrapped Founder

35 Listeners

All-In with Chamath, Jason, Sacks & Friedberg by All-In Podcast, LLC

All-In with Chamath, Jason, Sacks & Friedberg

10,260 Listeners

Hard Fork by The New York Times

Hard Fork

5,592 Listeners

Mostly Technical by Ian Landsman and Aaron Francis

Mostly Technical

27 Listeners