राम्रो नियत भएपनि, टोलीहरू परीक्षण विरोधी-ढाँचा मा पर्छन् — यस्ता अभ्यासहरू जसले परीक्षणहरूलाई कमजोर, ढिलो, अविश्वास्य, वा कम मूल्यको बनाउँछन्। यस्ता विरोधी-ढाँचाहरूलाई पहिचान गरेर सिङ्गार गर्नु स्वस्थ, मूल्यवान परीक्षण सुइटलाई बनाए राख्न महत्त्वपूर्ण छ।
परीक्षण गुणस्तर विरोधी-ढाँचाहरू
✗ TESTING IMPLEMENTATION DETAILS → tests coupled to internals → break on every refactor
(brittle) → test BEHAVIOR/outcomes instead
✗ FLAKY tests → intermittent failures erode trust → people ignore failures (real ones too)
✗ OVER-MOCKING → mocking everything → tests verify mock interactions, not real behavior;
brittle and give false confidence
✗ Tests with NO meaningful assertions → run code but verify nothing (false coverage)
✗ GIANT tests checking many things → unclear what failed; hard to maintain
