首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 嵌入开发 > 驱动开发 >

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

2012-10-26 
The Three Laws of TDD(测试驱动开发的三条原则)?1. You are not allowed to write any production code u

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

?

热点排行