Finding Seams

Use when existing code has untestable dependencies that prevent writing tests -- direct construction of collaborators, static or global function calls, tight coupling to external systems, or singleton access patterns. Specifically for identifying substitution points (seams) that make legacy or tightly-coupled code testable without editing at the call site. Do NOT use for greenfield TDD (see tdd), general test writing patterns (see testing), or refactoring already-tested code (see refactoring).

citypaul Updated

File contents

citypaul/.dotfiles/tree/main/claude/.claude/skills/finding-seams commit e989cf4e3a

Frequently asked questions

npx skillmds@latest add citypaul/finding-seams