Flicker1985's Blog

Everything should be made as simple as possible, but not simpler.
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

统计

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 阅读(1586) 评论(40) 推荐(2) 编辑
点击右上角即可分享
微信分享提示