Hata na kutaka vizuri, timu zinaruka katika anti-patterns za kupima — mbinu zinazofanya vipimo kuwa na udhaifu, polepole, bila kuaminika, au zenye thamani ndogo. Kutambua na kuepuka hizo ni muhimu kwa kudumisha suite ya vipimo yenye afya nzuri na thamani.
Anti-patterns ya ubora wa kipimo
✗ 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
