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.
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.
最近开发了两周的项目上线了( 对, 又是开源项目改吧改吧就上线了) 开发任务突然没有了, 而我, 每天却要写日报, 所以我又想起了多年前的愿望, 试一试怎么写测试。这样日报也有的写, 还可以提高项目的单元测试率, 面试的时候还能说为一个开源项目提供过commit, 美滋滋...
评分最近开发了两周的项目上线了( 对, 又是开源项目改吧改吧就上线了) 开发任务突然没有了, 而我, 每天却要写日报, 所以我又想起了多年前的愿望, 试一试怎么写测试。这样日报也有的写, 还可以提高项目的单元测试率, 面试的时候还能说为一个开源项目提供过commit, 美滋滋...
评分秉承《重构》的风格,该书也是同样的冗长和繁复,说了为了再现真实的代码。以前,或许我会同意,但是现在已经受不了了。如果电影院不是放大片,而是如现实生活一般平淡的镜头,你还会去看么?同样,文学作品即便是基于生活,也是经过提炼,浓缩和升华的。所以,我已经没有耐心...
评分Kent Beck关于TDD的名言: 测试驱动开发非常适合那些对代码情有独钟的呆子们。我年轻时软件工程生活的一项最令人痛楚的事情就是满怀热情的开始一个项目,然后看着代码随着时间的流失逐渐腐烂。一年后我只想丢掉已经变味的代码,转到开发别的项目中去。测试驱动开发能让...
评分Section 2的例子是用TDD写一个单元测试工具, 经常拿已经开发好的部分来写测试继续未完成的部分, bootstrap的过程好玩; Section 3是那种不严谨的老程序员经验谈 我没什么兴趣; 代码: https://github.com/suzaku/tdd_by_example
评分tdd实际上是一种生活态度,即做任何事情之前首先想到如何验证,如何证明自己做的是对的;对过于复杂的事情,划分成小的任务,每个任务都可以验证;
评分读了Section I,总体感觉tdd的思想是很好的,实践起来有一点麻烦。这个就和去健身是一个道理,都知道对自己好,但是有的时候狠不下心来。真正看懂需要一些java的基础。 后面两个sections以后再看。
评分Kent Beck大牛所作,不过在中国似乎实践起来还是有很大难度
评分TDD经典
本站所有内容均为互联网搜索引擎提供的公开搜索信息,本站不存储任何数据与内容,任何内容与数据均与本站无关,如有需要请联系相关搜索引擎包括但不限于百度,google,bing,sogou 等
© 2025 book.quotespace.org All Rights Reserved. 小美书屋 版权所有