112: Six Principles of Readable Tests - David Seddon - podcast episode cover

112: Six Principles of Readable Tests - David Seddon

May 08, 202045 minSeason 1Ep. 112
--:--
--:--
Download Metacast podcast app
Listen to this episode in Metacast mobile app
Don't just listen to podcasts. Learn from them with transcripts, summaries, and chapters for every episode. Skim, search, and bookmark insights. Learn more

Episode description

"Code is read much more often than it is written." - Guido van Rossum
This is true for both production code and test code.

When you are trying to understand why a test is failing, you'll be very grateful to the test author if they've taken the care to make it readable.

David Seddon came up with 6 principles to help us write more readable tests.
We discuss these, as well as more benefits of readable tests.

David's 6 Principles of Readable Tests:

  1. Profit from the work of others
  2. Put naming to work
  3. Show only what matters
  4. Don’t repeat yourself
  5. Arrange, act, assert
  6. Aim high

Special Guest: David Seddon.

Sponsored By:

Links:

★ Support this podcast on Patreon ★
For the best experience, listen in Metacast app for iOS or Android
Open in Metacast
112: Six Principles of Readable Tests - David Seddon | Test & Code podcast - Listen or read transcript on Metacast