Testing Anti Patterns

Use when reviewing tests for fragility, over-mocking, false positives, missing production wiring, or assertions that do not prove the requirement.

DYAI2025 Updated 6 repo stars
Plumbline — Plan → Code → Test → ⏸ pause → Deploy: catches the gap before shipping

File contents

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.

DYAI2025/Plumbline commit 510a73ed2e

Frequently asked questions

npx get-skill add dyai2025/testing-anti-patterns