The Art of Unit Testing 在线电子书 图书标签: 单元测试 TDD 软件开发 计算机 敏捷开发 testing programming Testing
发表于2024-12-24
The Art of Unit Testing 在线电子书 pdf 下载 txt下载 epub 下载 mobi 下载 2024
第一次看ut的书,老外同事推荐的,原来写了很多ut总感觉不会写,看完这本书觉得会写了,就是懒得写:)。值得一看。
评分虽然例子都是.NET的,但是有些项目经验的话从中抽象出具有通用性的“单元测试”知识并不难。
评分介绍的stub和mock概念还是挺有用的。
评分再读一遍
评分虽然例子都是.NET的,但是有些项目经验的话从中抽象出具有通用性的“单元测试”知识并不难。
作者简介:
Roy Osherove
世界著名单元测试专家,常年为世界各地的开发团队提供咨询和培训服务,并在各种大会上发表演讲,内容包括单元测试及测试驱动开发的艺术、团队领导力和敏捷开发实践。其个人技术博客osherove.com平均月独立访问量约50 000,提供了各种技术视频及其他培训信息,另著有Notes to a Software Team Leader: Growing Self Organizing Teams。
译者简介:
金迎
1997年毕业于北京大学计算机系,从事软件开发工作数年;2004年毕业于中科院计算所计算机应用技术专业,之后进入软件测试行业,具有丰富的手工和自动化测试的项目经验。
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#.
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...
评分这本书由浅入深的介绍了单元测试方方面面的知识,包括最基本的单元测试的定义、如何编写简单的单元测试、如何解除系统中的依赖(在单元测试中)之外,还告诉我们如何编写优秀的单元测试,以及如何向组织中引入单元测试,如何处理遗留代码的问题,如何设计易于测试的代码。全书的...
评分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...
评分这本书由浅入深的介绍了单元测试方方面面的知识,包括最基本的单元测试的定义、如何编写简单的单元测试、如何解除系统中的依赖(在单元测试中)之外,还告诉我们如何编写优秀的单元测试,以及如何向组织中引入单元测试,如何处理遗留代码的问题,如何设计易于测试的代码。全书的...
评分The Art of Unit Testing 在线电子书 pdf 下载 txt下载 epub 下载 mobi 下载 2024