நல்ல நோக்கங்களுடன் இருந்தாலும், குழுக்கள் சோதனை anti-patterns-ஆக விழுகின்றன — சோதனைகளை உடைந்துபோகக்கூடியவை, மெதுவாக இருப்பவை, நம்பமுடியாதவை அல்லது குறைந்த மதிப்புடையவை என்று செய்யும் செயல்களுக்குள். இவற்றை அறிந்து தவிர்ப்பது ஆரோக்கியமான, மூல்யமான சோதனை தொகுப்பை பராமரிப்பதற்கு முக்கியமாகும்.
சோதனை தரம் anti-patterns
✗ 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
