Flaky testler, kod değişiklikleri olmadan tutarsız şekilde geçen veya başarısız olan testlerdir — bazen geçer, bazen aynı kod üzerinde başarısız olur. Bunlar ciddi bir problemdir çünkü test paketine olan güveni zedeler. Nedenlerini ve çözümlerini anlamak önemlidir.
Flaky testler nedir ve neden zararlıdırlar
A FLAKY test gives INCONSISTENT results (pass sometimes, fail other times) on the SAME code:
→ harmful: ERODES TRUST — people start ignoring failures ("oh, it's just flaky") →
real failures get missed too
→ waste time on false alarms / re-runs; break CI; reduce confidence in the whole suite
→ Flaky tests are worse than no test if they make people distrust all tests.
