xUnit Test Patterns

Gerard Meszaros

出版时间

2007-05-31

ISBN

9780131495050

评分

★★★★★
书籍介绍
这本书最常被提起的,是它近乎百科全书式的体量——八九百页、68 种模式,读起来像三本书。但真正让读者记住它的,是作者对“测试到底在做什么”这一问题的重新定义:单元测试不是软件完成后用来衡量质量的尺子,而是把质量构建进产品的手段。书中对 Test Double(测试替身)等测试对象的梳理被读者反复引用,成为实践中的经典参照。它适合把测试当作工具书按需查阅的人,也适合想系统理解“为什么这样写测试”的开发者。当然,它啰嗦、厚重,不适合寻求速成的读者——但正因详尽,反而成了可长期倚重的案头参考。
精彩摘录
  • "I fact , most of us are pleasantly surprised when something does work the first time. The key thing that distinguishes these tests from the ones that the testers write is that the units being tested are a consequence of the design of the software, rather than being a direct translation of the requir"
  • "Traditionally, this testing occurs after the software is complete. As a result, it is a way of measuring quality -- not a way of building quality into the product."
用户评论
关于 Test Double 总结的很不错,力荐。
内容很全面,但是有点啰嗦了,可以作为工具书按需查看
10年前的唠嗑,10年后的常识。
太啰嗦了。
主要看了http://www.cnblogs.com/coderzh/archive/2010/01/23/xUnit-Test-Patterns.html 这位博主的读书笔记,对于各种测试对象的总结很经典。
比较啰嗦
下载
收藏