outside-in-tdd
Use when an approved scenario, Gherkin example, worked example, or expected result has to become working software through outside-in / double-loop TDD -- start from an acceptance or application-boundary test, get a trustworthy RED before implementation, let domain logic emerge only from failing behavior, and drive one walking skeleton or first delivery slice at a time. Also use to decide what belongs in first delivery and what stays out of scope, when checking whether a failing suite proves a missing approved behavior or is false evidence, when replacing fixture-provided or test-provided false greens with production behavior, when wider HTTP/DB/infrastructure tests should wait behind an inner failing behavior, and when splitting RED and GREEN across workers or subagents with inspection between them. Finish with post-GREEN wiring verification, mutation/coverage gates, and never commit on red.
Pinned to revision f2a11d9952bb, so it is the text this page describes rather than whatever the author pushed since.
Files
- skills/outside-in-tdd/SKILL.md
- skills/outside-in-tdd/assets/CommandHandlerTestTemplate.cs
- skills/outside-in-tdd/assets/QueryHandlerTestTemplate.cs
- skills/outside-in-tdd/references/cqrs-patterns.md
- skills/outside-in-tdd/references/test-examples.md
- skills/outside-in-tdd/references/testing-strategy.md
Every link opens the file at its source, pinned to the revision this page describes.