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 Detect Flaky Tests

There are a number of things that developers can do to detect that a test case is flaky. To give a concrete example, let's say that I have two test cases that are interacting inadvertently through shared state in a database or in a file system. What I might then be able to discover is that when I rerun those test cases together as a pair or as a group, they negatively influence each other and cause flakiness. In that case, to solve the problem, I would try to introduce better setup and tear down methods for those test cases.

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