فلیکی ٹیسٹس وہ ٹیسٹس ہیں جو بغیر کوڈ میں تبدیلی کے مطابقت سے ناکام یا کامیاب ہوتے ہیں — کبھی کامیاب، کبھی ایک جیسے کوڈ پر ناکام۔ یہ ایک سنگین مسئلہ ہے کیونکہ وہ ٹیسٹ سوٹ میں اعتماد کو ختم کرتے ہیں۔ ان کی وجوہات اور حل سمجھنا اہم ہے۔
فلیکی ٹیسٹس کیا ہیں اور وہ نقصان دہ کیوں ہیں
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.
