The Bike Shed

438: Writing abstractions in tests

Sep 3, 2024
Stepha, a skilled tech storyteller, dives into the intriguing parallels between writing abstractions in tests and crafting compelling narratives. She and Joël discuss the delicate balance needed in both fields to avoid overwhelming the audience or leaving them bewildered. They explore motivations for using abstractions, from enhancing readability to simplifying test purposes. The conversation also covers the impact of custom matchers and shared examples in tests, highlighting the trade-offs that come with each approach for clearer, more effective testing.
Ask episode
Chapters
Transcript
Episode notes