Installs into .claude/skills of the current project.
Are you the author of Testing Anti Patterns?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/dyai2025-testing-anti-patterns)
---
name: testing-anti-patterns
description: Use when reviewing tests for fragility, over-mocking, false positives, missing production wiring, or assertions that do not prove the requirement.
---
# Testing Anti-patterns
Watch for:
- Tests that assert implementation details instead of behavior.
- Mocks that replace the behavior being tested.
- No negative, boundary, or failure-path coverage.
- Snapshot-only assertions.
- Tests that pass without production wiring.
- Flaky timing or network dependencies without isolation.
For each issue, propose the smallest test change that would fail on the current bug.