Integrate testing-anti-patterns into test-driven-development
- Moved testing-anti-patterns to test-driven-development/testing-anti-patterns.md
- Added reference in TDD skill for progressive disclosure
- Updated README to reflect consolidation
- Removed standalone skill (now a supporting reference)
-description: Use when writing or changing tests, adding mocks, or tempted to add test-only methods to production code - prevents testing mock behavior, production pollution with test-only methods, and mocking without understanding dependencies
----
-
# Testing Anti-Patterns
+**Load this reference when:** writing or changing tests, adding mocks, or tempted to add test-only methods to production code.
+
## Overview
Tests must verify real behavior, not mock behavior. Mocks are a means to isolate, not the thing being tested.