Hacker News new | past | comments | ask | show | jobs | submit login

As with bugs in general, nobody sets out to write flaky tests.

Sometimes organizational imperatives like code coverage goals can result in less-than-stellar tests. Sometimes a developer doesn't understand the system well enough, and sometimes (often, in my experience) something outside the logical scope of a test changes, e.g., an underlying implicit dependency.

Even a test that is 100% reliable today may become unreliable tomorrow.




Consider applying for YC's Summer 2025 batch! Applications are open till May 13

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: