Engineering Culture by InfoQ

Taming Flaky Tests: Trisha Gee on Developer Productivity and Testing Best Practices

14 snips
Apr 18, 2025
Ask episode
AI Snips
Chapters
Transcript
Episode notes
ADVICE

Reducing Test Flakiness Tactics

  • Adjust and be smart with timeouts in UI and service tests to reduce flakiness. - Optimize test setup by ensuring shared resources like databases start once to speed tests and reduce flaky results.
INSIGHT

Flaky Tests Revealing Production Bugs

  • Flaky tests can indicate deeper production code issues like race conditions or contention. - Identifying flakiness early helps catch these bugs before impacting users or production environments.
INSIGHT

Flaky Tests Impact Developer Morale

  • Constantly red CI builds due to flaky tests hurt developer morale and motivation. - Ignored flaky tests send a message that code quality and test integrity are not priorities.
Get the Snipd Podcast app to discover more snips from this episode
Get the app