圖書標籤: 單元測試 TDD 軟件開發 計算機 敏捷開發 testing programming Testing
发表于2024-11-25
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概念還是挺有用的。
評分第一次看ut的書,老外同事推薦的,原來寫瞭很多ut總感覺不會寫,看完這本書覺得會寫瞭,就是懶得寫:)。值得一看。
評分一般般,對MS的東西無愛。可能是我水平有限,讀起來總覺有晦澀之處。Amazon上此書評價全五星。那本Pragmatic unit testing(JUnit)讀起來更容易些,有空去看下JUnit in Action裏麵關於Mock和Stub的東西應該會更容易些。
读不下去了。。。文字和配图根本驴头不对马嘴。。。代码也是乱乱的。。。 return后边突然就来了一个Return.... 文字写的是FakeService,图里是MockWebService... 哎,看着好蛋疼。。。
評分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... 哎,看着好蛋疼。。。
評分这本书由浅入深的介绍了单元测试方方面面的知识,包括最基本的单元测试的定义、如何编写简单的单元测试、如何解除系统中的依赖(在单元测试中)之外,还告诉我们如何编写优秀的单元测试,以及如何向组织中引入单元测试,如何处理遗留代码的问题,如何设计易于测试的代码。全书的...
評分建议下载第一版来读,不是为了图方便我也不会买这个纸质版。 到第三章以后已经不是文不对题的问题了而是省略了很多很关键的东西。 以后打死也不买这个烂人翻译的书了。 比如3.4.6 3 小结 原书关于兔子洞的精彩比方就被省略了,我简直无语。
The Art of Unit Testing pdf epub mobi txt 電子書 下載 2024