3min chapter

Software Engineering Radio - the podcast for professional software developers cover image

SE Radio 572: Gregory Kapfhammer on Flaky Tests

Software Engineering Radio - the podcast for professional software developers

CHAPTER

How to Control Flakiness in Your Test Suite

The idea there is that instead of interacting with some unpredictable third party service, I'll actually have a mock of that third party service. And in my experience, that often helps me to control flakiness. Of course at the expense of perhaps limiting the realism of the test cases that I'm running. So if we can't have mocks, but we recognize there's flakiness perhaps because of our dependence on some third party API, then in that situation, I think we should do precisely what you suggested a moment ago - run those test cases infrequently.

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode