《单元测试的艺术》封面

单元测试的艺术

The art of unit testing

Roy Osherove · 初版 2009 年

12人推荐
17位读者提及
18次提及

为什么值得读

  • 给出极为务实落地的测试改进实操建议
  • 能有效消除写测试的挫败感并提升质量
  • 适合作为阅读测试驱动开发专著后的进阶

Hacker News 上怎么说

  • ……后期修改软件的过程。《编写可读代码的艺术》(The Art of Readable Code),达斯汀·博斯韦尔(Dustin Boswell)与特雷弗·福彻(Trevor Foucher)著;《点石成金》(Don't Make Me Think)第2版,史蒂夫·克鲁格(Steve Krug)著;《重来2:抽离办公室》(Remote: Office not Required),贾森·弗里德(Jason Fried)与 DHH 著;《单元测试的艺术》(The Art of Unit Testing),罗伊·奥舍罗夫(Roy Osherove)著;《代码大全2》(Code Complete 2),史蒂夫·麦康奈尔(Steve McConnell)著;《重构:改善既有代码的设计》(Refactoring: Improving the Design of Existing Code),马丁·福勒(Martin Fowler)著;《编程修炼之道》(The Practice of Programming),布莱恩·柯林汉(Brian Kernighan)与罗伯·派克(Rob Pike)著;《JavaScript 语言精粹》(JavaScript: The Good…

    …the process of changing the software later on. The Art of Readable Code by Dustin Boswell & Trevor Foucher Don't Make Me Think 2ed by Steve Krug Remote: Office not Required by Jason Fried & DHH The Art of Unit Testing by Roy Osherove Code Complete 2 by Steve McConnell Refactoring: Improving the Design of Existing Code by Martin Fowler The Practice of Programming by Brian Kernighan & Rob Pike JavaScript: The Good…

  • 编写代码的技术理念:-------------------------------------- 《代码整洁之道》(Clean Code,罗伯特·塞西尔·马丁 著) 《单元测试的艺术》(The Art of Unit Testing,罗伊·奥舍罗夫 著) 《深入浅出设计模式》(Head First Design Patterns,伊丽莎白·弗里曼、凯茜·塞拉 著) 马丁·福勒的博客:https://martinfowler.com/ 。 如何收集需求并编写业务可读的代码:--------------------------------------…

    Technical concepts for writing code: -------------------------------------- Clean Code (Robert Cecil Martin) The Art of Unit Testing (Roy Osherove) Head First Design Patterns (Elisabeth Freeman, Kathy Sierra) Martin Fowler's blog: https://martinfowler.com/ . How to gather requirements and write business-readable code: --------------------------------------…

  • ……你使用的技术栈,尽管示例肯定是用某种语言写的。## 专著 《测试驱动开发:实战篇》(Test Driven Development By Example,肯特·贝克 著) 《单元测试的原则、实践与模式》(Unit Testing: Principles, Practices, and Patterns,弗拉基米尔·霍里科夫 著) 《单元测试的艺术》第2版(The Art of Unit Testing 2nd ed,罗伊·奥舍罗夫 著) 《修改代码的艺术》(Working Effectively with Legacy Code,迈克尔·菲瑟斯 著) ## 各类资源 [单元测试最佳实践](https://www.youtube.com/watch?v=k_ItB5btREU&t=2931s&ab_chann...)(弗拉基米尔·……

    …you use, though of course examples are written in a language. ## Monographs Test Driven Development By Example (Kent Beck) Unit Testing: Principles, Practices, and Patterns (Vladimir Khorikov) The Art of Unit Testing 2nd ed (Roy Osherove) Working Effectively with Legacy Code (Michael Feathers) ## Various resources [Unit Testing Best Pratices](https://www.youtube.com/watch?v=k_ItB5btREU&t=2931s&ab_chann...) (Vladimir…

  • 罗伊·奥舍罗夫(Roy Osherove)写的《单元测试的艺术》(The Art of Unit Testing)确实太赞了。多亏了它,我现在写的 unit test 质量高多了,而且因为不再觉得抓狂,我写测试也频繁得多了。

    The Art of Unit Testing by Roy Osherove is indeed amazing. Thanks to it I now write much better unit tests, and as a result of removed frustration I do it much more often.

  • 看来你读了肯特·贝克(Kent Beck)的那本 TDD 书。接下来很适合读罗伊·奥舍罗夫(Roy Osherove)的《单元测试的艺术》(The Art of Unit Testing)。我觉得书里有很多务实、接地气的建议。它谈不上终极宝典,但作为读完肯特·贝克那本书后的进阶非常不错。里面有一些专门针对 C# 的内容,不过那些东西也挺有意思的……

    I see you read Kent Beck's TDD book. A good follow-up might be Roy Osherove's "The Art of Unit Testing." I found it to have a lot of pragmatic, practical advice. It's not the final word, but it is a good next step after Kent Beck's book. It has some C#-specific material, but that stuff is interesting to…

  • 我推荐读读《单元测试的艺术》(The Art of Unit Testing)-> https://www.manning.com/books/the-art-of-unit-testing 。至少这是我10多年前学习 TDD 时读的书,从书里学到的知识事实证明是历久弥新的。

    I recommend reading The Art of Unit Testing -> https://www.manning.com/books/the-art-of-unit-testing . At least this is the book I learned TDD from more than 10 years ago and the knowledge I gained from the book has proven to be timeless.

正在加载完整评论……

键盘快捷键

/
聚焦搜索框
j / k
下一本 / 上一本
Enter
打开选中的书
Esc
关闭 / 返回
g h
回到首页
g b
值得读精选
g t
历史总榜
g r
上升最快
g l
我的书架
?
显示本帮助