Flicker1985's Blog

Everything should be made as simple as possible, but not simpler.

2011年5月29日

TDD需要debugger吗?

摘要: 昨天和一个同事一起pair的tdd的时候,有一个测试一直红着,我只好开了debugger来调试。这时候对面的8x,笑嘻嘻的说: ”tdd开debugger就是tdd的耻辱!“真的如此吗?我们首先回顾一下tdd是的节奏red/green/refactor:Red - Write a little test that does'n work, and perhaps doesn't even compile at first.Green - Make the test work quickly, committing whatever sins neccessary in the 阅读全文

posted @ 2011-05-29 00:34 Fei He 阅读(1581) 评论(40) 推荐(2) 编辑