`
cutesunshineriver
  • 浏览: 196401 次
  • 性别: Icon_minigender_1
  • 来自: 广州
社区版块
存档分类
最新评论

《测试驱动开发》

 
阅读更多
测试驱动开发的目标是Clean Code that works。

具体实施步骤:
1、Quickly add a test.
2、Run all the tests and see the new one fail.
3、Make a little change.
4、Run all tests and see them all succeed.
5、Refactor to remove duplication.

-----------------------------------------
书里提到的我很认同的话。
Programming is full of classic sequence:
. input/process/output
. Send message/receive reply
. Read commmand/return result
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics