Flaky tests yaiku test sing lulus utawa gagal ora konsisten tanpa ana owah-owahan kode — kadhang kala lulus, kadhang kala gagal ing kode sing padha. Iki dadi masalah serius amarga ngilangi kapercayan marang test suite. Ngerti sebab lan cara ngatasi iku penting.
Apa iku flaky tests lan kenapa iku ndadake cilaka
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.
