> For the complete documentation index, see [llms.txt](https://as-pect.gitbook.io/as-pect/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://as-pect.gitbook.io/as-pect/.pi/skills/tdd.md).

# tdd

- [Test-Driven Development](https://as-pect.gitbook.io/as-pect/.pi/skills/tdd/skill.md): Test-driven development with red-green-refactor loop. Use when user wants to build features or fix bugs using TDD, mentions "red-green-refactor", wants integration tests, or asks for test-first develo
- [Deep Modules](https://as-pect.gitbook.io/as-pect/.pi/skills/tdd/deep-modules.md)
- [Interface Design for Testability](https://as-pect.gitbook.io/as-pect/.pi/skills/tdd/interface-design.md)
- [When to Mock](https://as-pect.gitbook.io/as-pect/.pi/skills/tdd/mocking.md)
- [Refactor Candidates](https://as-pect.gitbook.io/as-pect/.pi/skills/tdd/refactoring.md)
- [Good and Bad Tests](https://as-pect.gitbook.io/as-pect/.pi/skills/tdd/tests.md)
