Discover this podcast and so much more

Podcasts are free to enjoy without a subscription. We also offer ebooks, audiobooks, and so much more for just $11.99/month.

112: Six Principles of Readable Tests - David Seddon

112: Six Principles of Readable Tests - David Seddon

FromTest and Code


112: Six Principles of Readable Tests - David Seddon

FromTest and Code

ratings:
Length:
45 minutes
Released:
May 8, 2020
Format:
Podcast 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:
Profit from the work of others
Put naming to work
Show only what matters
Don’t repeat yourself
Arrange, act, assert
Aim high
Special Guest: David Seddon.
Released:
May 8, 2020
Format:
Podcast episode

Titles in the series (100)

Test & Code is a weekly podcast hosted by Brian Okken. The show covers a wide array of topics including software engineering, development, testing, Python programming, and many related topics. When we get into the implementation specifics, that's usually Python, such as Python packaging, tox, pytest, and unittest. However, well over half of the topics are language agnostic, such as data science, DevOps, TDD, public speaking, mentoring, feature testing, NoSQL databases, end to end testing, automation, continuous integration, development methods, Selenium, the testing pyramid, and DevOps.