Attila Vágó
Feb 11, 2025

--

These are the kind of situations when tests could come in really handy. Refactors are high-risk, and a pretty bullet-proof way to mitigate those risks is have tests. It doesn't even have to be unit tests, even some E2E tests for all the possible UX flows would catch this one quite easily.

--

--

Attila Vágó
Attila Vágó

Written by Attila Vágó

Staff software engineer, tech writer, author and opinionated human. LEGO and Apple fan. Accessibility advocate. Life enthusiast. Living in Dublin, Ireland. ☘️

Responses (2)