`
heipark
  • 浏览: 2077813 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

The Three Laws of TDD(测试驱动开发的三条原则)

 
阅读更多

 

1. You are not allowed to write any production code unless it is to make a failing unit test pass.

 

2. You are not allowed to write any more of a unit test than is sufficient to fail; and compilation failures are failures.

 

3. You are not allowed to write any more production code than is sufficient to pass the one failing unit test.

 

 

 

UncleBob:http://butunclebob.com/ArticleS.UncleBob.TheThreeRulesOfTdd

中文翻译:http://blog.csdn.net/hudon/article/details/1123700

 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics