Kent Beck consistently challenges software engineering dogma, promoting ideas like patterns, test-driven development, and Extreme Programming. Currently affiliated with Three Rivers Institute and Agitar Software, he is the author of many Addison-Wesley titles.
发表于2025-02-02
Test Driven Development 2025 pdf epub mobi 电子书
最近开发了两周的项目上线了( 对, 又是开源项目改吧改吧就上线了) 开发任务突然没有了, 而我, 每天却要写日报, 所以我又想起了多年前的愿望, 试一试怎么写测试。这样日报也有的写, 还可以提高项目的单元测试率, 面试的时候还能说为一个开源项目提供过commit, 美滋滋...
评分 评分关于测试驱动开发有很多谬论和误解。关于这点的澄清永远没有尽头,就像任何其他的方法一样,所谓正解和误解都是相伴而生的。 而本书是总结这个在开发社团里面实践经验的开山之作,关于他的评价是,误解的不想读,不误解的也不愿意读,前者是因为已经有误解的心态对于这种小题目...
评分If I get stuck and I don’t know how a complex algorithm should work I’ll write a test for an error case. Then I’ll write a test for the simplest non-error case I can think of and return a hard coded value. Then I’ll write another test case and see if I ...
评分这本书的作者是“极限编程”之父Kent Beck,书写得很薄,每一章都只有几页的长度。这就好像用TDD方法写出的代码般,每一个单元都是精巧明快的,使得人们很容易读懂,也使人们更有意愿将其读懂(短的文章更能激发人们的阅读欲望,不是吗?)。加之作者的笔调也十分轻松,这种小薄...
图书标签: TDD 软件开发 软件工程 编程 计算机 agile programming Programming
Quite simply, test-driven development is meant to eliminate fear in application development. While some fear is healthy (often viewed as a conscience that tells programmers to "be careful!"), the author believes that byproducts of fear include tentative, grumpy, and uncommunicative programmers who are unable to absorb constructive criticism. When programming teams buy into TDD, they immediately see positive results. They eliminate the fear involved in their jobs, and are better equipped to tackle the difficult challenges that face them. TDD eliminates tentative traits, it teaches programmers to communicate, and it encourages team members to seek out criticism However, even the author admits that grumpiness must be worked out individually! In short, the premise behind TDD is that code should be continually tested and refactored. Kent Beck teaches programmers by example, so they can painlessly and dramatically increase the quality of their work.
没看完
评分读了Section I,总体感觉tdd的思想是很好的,实践起来有一点麻烦。这个就和去健身是一个道理,都知道对自己好,但是有的时候狠不下心来。真正看懂需要一些java的基础。 后面两个sections以后再看。
评分Section 2的例子是用TDD写一个单元测试工具, 经常拿已经开发好的部分来写测试继续未完成的部分, bootstrap的过程好玩; Section 3是那种不严谨的老程序员经验谈 我没什么兴趣; 代码: https://github.com/suzaku/tdd_by_example
评分还不错吧,算得上手把手教你怎么tdd,不过看另一本tdd似乎是更合适一些。
评分极限的TDD。比起《The Art of Agile Development》那本书中讲TDD的一章,这本书中的方法更加extreme。正如作者所说,开发中根据实际场景的不同,步骤可大可小,但本书至少展示了极致的TDD是怎样的。
Test Driven Development 2025 pdf epub mobi 电子书