Red, Green, Refactor (then Integrate and Commit)


(archived from my old blog from my pre-MS days)

xDD (TDD, BDD, DDD, etc.) emphasizes the standard "Red, Green, Refactor" mantra in order to prevent the buildup of technical debt.  However, without the addition of Integration testing, or user-acceptance testing, and then committing the code to source control, you're only partway there.  I'm not saying that cycle should execute all five every time (RGRIC, RGRIC, RGRIC), but it should definitely happen when a feature/story has been completed at the very least (perhaps RGR1, RGR2, ...RGRn, IC).  Don't forget that Integrate & Commit or you will end up with some very heavy technical debt rather quickly.

I'm writing this down in order to remind myself.  I've also placed it in my desktop background via BgInfo.


Comments (0)

Skip to main content