testing-anti-patterns
Tests must verify real behavior, not mock behavior. Mocks isolate; they are not the thing under test. This skill is the prevention layer;
Testing anti patterns is an AI agent skill from the GitHub repository event4u-app/agent-config. BEFORE writing/changing tests, mocks, or test-only methods on production classes — mocking-the-mock, production pollution, overfit assertions; for order, `test-driven-development` wins.
.claude/skills/testing-anti-patterns/SKILL.md.cursor/rules/testing-anti-patterns.md.agents/skills/testing-anti-patterns/SKILL.md