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

00:00

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.

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app