tdd-workflow

Installation
SKILL.md

Test-Driven Development

TDD is not about testing. It is about design. Writing the test first forces you to design the interface before you know how it will be implemented.


The RED-GREEN-REFACTOR Cycle

Every change in TDD follows three phases:

RED    → Write a test that fails (for code that doesn't exist yet)
GREEN  → Write the minimum code to make the test pass
REFACTOR → Clean up the code without changing its behavior

The constraint is important: in GREEN phase, write only enough code to pass the test. No more.

Installs
1
Repository
harmitx7/odoo
GitHub Stars
2
First Seen
Sep 5, 2026