Test-Driven Development
Overview
Tests verify behavior through public interfaces, not implementation details. One failing test → minimum code to pass → repeat. Never write all tests first. See tests.md for examples and mocking.md for mocking guidelines.
When to Use
- Implementing a task from
.forge/tasks.yamlthat needs test-first discipline - Any feature or bug fix where behavior must be proven before merging
- User explicitly asks for TDD or red-green-re
[Description truncada. Veja o README completo no GitHub.]