Flaky tests - Fighting nightmares

Ramona Schwering
Ramona Schwering

September 25, 2020

A liar will not be believed even if he tells the truth.

CityJS London
FemTechConf
eCommerceCamp Jena
PHPUGMRN

Abstract

"A liar will not be believed even if he tells the truth" - Aesop

A test can also be such a liar: Unreliable tests are living nightmares for anyone who writes automated tests or even pays attention to their results. Sometimes they pass, sometimes they don't, and therefore do not give a valid statement about the state of the software. In the worst case, they can impair the credibility of the entire test suite. It doesn't matter whether you write unit, integration or end-to-end tests, you can counter them in any way you like.

I've spent hours and hours on such tests, and I want to share my path through them and the lessons learned from them: So that together we can avoid or even get rid of these nightmares.

Slides

Recordings