`
heipark
  • 浏览: 2097522 次
  • 性别: 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

 

分享到:
评论

相关推荐

    Albert-László Barabási的2018年新书《The Formula:the universal laws of success》

    "This is not just an important but an imperative project: to approach the problem of randomness and success using the state of the art scientific arsenal we have. Barabasi is the person." --Nassim ...

    Scale: The Universal Laws of Growth

    Visionary physicist Geoffrey West is a pioneer in the field of complexity science, the science of emergent systems and networks. The term “complexity” can be misleading, however, because what makes ...

    The Laws of Simplicity

    - **标题:“The Laws of Simplicity”**:本书探讨的是如何通过简洁性来改善设计、技术、商业乃至生活的各个方面。作者认为,简洁不仅是一种美学追求,更是一种能够提升用户体验、促进业务发展以及改善生活质量的...

    An Investigation of the Laws of Thought

    乔治·布尔(George Boole,1815.11.2~1864),1815年11月2日生于英格兰的林肯。19世纪最重要的数学家之一,出版了《逻辑的数学分析》,这是它对符号逻辑诸多贡献中的第一次。1854年,他出版了《思维规律的研究》,这...

    The Laws of Cryptography with Java Code.pdf

    - **第19章:统计测试和完美生成器** 分析了评估随机数质量的方法和技术。 ##### 第六部分:高级加密标准(AES) - **第20章:AES简介** 对AES进行了全面的介绍,包括其历史背景和发展历程。 - **第21章:有限...

    An Investigation of the Laws of Thought Author: George Boole Release Date

    乔治·布尔的著作《思维规律的研究》是在逻辑学和概率论数学理论发展史上的重要贡献,这本著作由乔治·布尔所著,并于2017年7月19日发布。乔治·布尔是数学家,同时也是逻辑运算的奠基人,他的理论构建了布尔代数的...

    [简单法则].The.Laws.of.Simplicity

    《简单法则》(The Laws of Simplicity)由约翰·马埃达(John Maeda)撰写,是一本探讨如何在设计、技术、商业及生活中实现简化的著作。马埃达作为设计领域的领军人物,在书中分享了他对于简约的理解及其对现代社会...

    The five laws of ethical digital human design 数字人体设计道德五定律.pdf

    The five laws of ethical digital human design 数字人体设计道德五定律.pdf

    the-mozaic.pdf

    10. 软件开发的三大法则:文件中提到了“the Three Laws of TDD”,这是指测试驱动开发的三个基本法则。第一法则是在编写新代码之前编写失败的测试;第二法则是在编写足够失败测试通过的代码后不再编写更多代码;第...

    Applications of Bell-polynomial scheme in constructing the conversation laws of the nonlinear evolution equations admittingtwo-field bilinear forms

    Bell多项式方法在构造非线性发展方程守恒率中的应用研究,李敏,柳长静,本文将Bell多项式方法应用于研究具有二元双线性形式的非线性发展方程的无穷多守恒率。目前,Bell多项式方法已经被应用于获得具有一元

    2010_ASME_UnwrittenLawsofEngineering_Success_pdf_career_engineer

    Unwritten Laws of Engineering is a collection of rules to succeeding in the engineering field. The authors noticed that the problems they were having were of a personal nature

    code and other laws of cyberspace

    《代码及网络空间的其他法律》是由劳伦斯·莱斯格所著,探讨了代码在网络空间中塑造法律和规范的作用。...这本书对于法律专业人士、技术开发人员、政策制定者以及所有对网络空间法律感兴趣的读者都有着重要的参考价值。

    The Laws of Cryptography wiht Java Code

    本书深入讲解了随机数生成的原理和方法,包括传统随机数生成器和基于混沌理论的随机数生成器,以及如何使用统计测试来评估随机数生成器的性能。在公钥密码学章节,作者探讨了公钥分布系统和RSAPublicKey ...

    The Art Of Electronics 3rd

    The Art of Electronics Third Edition At long last, here is the thoroughly revised and updated, and long-anticipated, third edition of the hugely successful The Art of Electronics. Widely accepted as ...

    The geometry of multiple images

    The geometry of multiple images--DJV 格式

    Study on the interval laws of water flow in over-broken rock mass

    本文研究了在过度破碎的岩石体中水流的区间规律,涉及岩石力学试验和渗流特性分析。研究基于稳态渗透法,利用MTS815.02电液伺服岩石力学试验系统和特制的破碎岩石压实渗透仪进行了实验,总结出了不同区间规律下三种...

    The Laws of Software Process: A New Model for the Production and Management of Software

    这本书让我们对软件开发有一个不同的视角:软件不是产品,软件开发是一个知识获取的过程

    The mixed-type reverse-order laws for weighted generalized inverses of a triple matrix product

    本文标题为“三矩阵乘积的加权广义逆的混合序”,是一篇首发论文,主要探讨了在复杂场中三个矩阵乘积的加权广义逆问题,并利用广义Schur补的概念,研究了极大秩和极小秩的特性,进一步得出了混合序成立的充分必要...

    The Art Of Electronics 3rd(part2)

    The Art of Electronics Third Edition At long last, here is the thoroughly revised and updated, and long-anticipated, third edition of the hugely successful The Art of Electronics. Widely accepted as ...

Global site tag (gtag.js) - Google Analytics