图书标签: 单元测试 TDD 软件开发 计算机 敏捷开发 testing programming Testing
发表于2024-11-22
The Art of Unit Testing pdf epub mobi txt 电子书 下载 2024
HIGHLIGHT Here's what Michael Feathers, an Agile rock star in his own right, has to say about The Art of Unit Testing : "This is the best all around introduction to unit testing on the market today." DESCRIPTION The Art of Unit Testing guides the reader on the journey from beginner to master in the subtle art of unit testing. Based on expert author Roy Osherove's real-world development experiences, this book shows developers how to make sure the code that they write actually works as expected, and how to make these verifications as automated as possible. Not only that, the book shows techniques that help to make sure that tests are maintainable, readable, and test the right thing over time. The author establishes five rules for good unit tests built upon the three major principles that any good test be maintainable, trustworthy, and readable. Clear sections present established best practices, and the book also provides clear guidance on what to test and where to start testing in a legacy code project. Unlike other books on this topic, this book trades theory for real-world examples. It's designed so that a working developer can start writing better unit tests now. Unlike most Unit Testing and TDD books, most examples are in C# on the .NET platform. KEY POINTS * Introduction to unit testing and the basics of writing real-world unit tests * Best practices for writing maintainable, trustworthy, readable tests * Author Roy Osherove is highly visible and extremely well-known in this field MARKET INFORMATION Agile principles like unit testing have found their way more slowly into the Microsoft community than they have in Java. This book presents the well-honed practices common in the Java world using examples in C#.
作者简介:
Roy Osherove
世界著名单元测试专家,常年为世界各地的开发团队提供咨询和培训服务,并在各种大会上发表演讲,内容包括单元测试及测试驱动开发的艺术、团队领导力和敏捷开发实践。其个人技术博客osherove.com平均月独立访问量约50 000,提供了各种技术视频及其他培训信息,另著有Notes to a Software Team Leader: Growing Self Organizing Teams。
译者简介:
金迎
1997年毕业于北京大学计算机系,从事软件开发工作数年;2004年毕业于中科院计算所计算机应用技术专业,之后进入软件测试行业,具有丰富的手工和自动化测试的项目经验。
再读一遍
评分介绍的stub和mock概念还是挺有用的。
评分介绍的stub和mock概念还是挺有用的。
评分介绍的stub和mock概念还是挺有用的。
评分介绍的stub和mock概念还是挺有用的。
建议下载第一版来读,不是为了图方便我也不会买这个纸质版。 到第三章以后已经不是文不对题的问题了而是省略了很多很关键的东西。 以后打死也不买这个烂人翻译的书了。 比如3.4.6 3 小结 原书关于兔子洞的精彩比方就被省略了,我简直无语。
评分这本书由浅入深的介绍了单元测试方方面面的知识,包括最基本的单元测试的定义、如何编写简单的单元测试、如何解除系统中的依赖(在单元测试中)之外,还告诉我们如何编写优秀的单元测试,以及如何向组织中引入单元测试,如何处理遗留代码的问题,如何设计易于测试的代码。全书的...
评分这本书由浅入深的介绍了单元测试方方面面的知识,包括最基本的单元测试的定义、如何编写简单的单元测试、如何解除系统中的依赖(在单元测试中)之外,还告诉我们如何编写优秀的单元测试,以及如何向组织中引入单元测试,如何处理遗留代码的问题,如何设计易于测试的代码。全书的...
评分P8 If you can’t fully automate your unit tests,you’ll probably avoid running them repeatedly,as will everyone else on your team. 如果不能完全自动化单元测试,你很可能会避免重复运行这些测试,团队里的其他人也一样。 P17 This chapter will get you started writ...
评分读不下去了。。。文字和配图根本驴头不对马嘴。。。代码也是乱乱的。。。 return后边突然就来了一个Return.... 文字写的是FakeService,图里是MockWebService... 哎,看着好蛋疼。。。
The Art of Unit Testing pdf epub mobi txt 电子书 下载 2024