The Art of Unit Testing: with examples in C#, 2/e (Paperback)
Roy Osherove
- 出版商: Manning
- 出版日期: 2013-12-07
- 定價: $1,650
- 售價: 8.0 折 $1,320
- 語言: 英文
- 頁數: 296
- 裝訂: Paperback
- ISBN: 1617290890
- ISBN-13: 9781617290893
-
相關分類:
C#、軟體測試、Unit Test 單元測試
-
相關翻譯:
單元測試的藝術, 2/e (The Art of Unit Testing: with examples in C#, 2/e) (繁中版)
單元測試的藝術 - 以 C# 為範例『第二版』 (簡中版)
-
其他版本:
The Art of Unit Testing : With Examples in JavaScript, 3/e (Paperback)
買這商品的人也買了...
-
$3,170$3,012 -
$1,485$1,411 -
$680$537 -
$800$632 -
$1,980$1,881 -
$500$395 -
$1,229Professional Test Driven Development with C#: Developing Real World Applications with TDD (Paperback)
-
$580$458 -
$360$281 -
$940$700 -
$480$379 -
$680$578 -
$580$458 -
$1,560$1,482 -
$420$357 -
$320$250 -
$1,900$1,805 -
$1,482$1,404 -
$520$411 -
$825Advanced Analytics with Spark: Patterns for Learning from Data at Scale (Paperback)
-
$620$490 -
$360$281 -
$1,617Deep Learning (Hardcover)
-
$790$616 -
$650$507
相關主題
商品描述
content<div><p><b>Summary</b> </p><p><i>The Art of Unit Testing, Second Edition</i> guides you step by step from writing your first simple tests to developing robust test sets that are maintainable, readable, and trustworthy. You'll master the foundational ideas and quickly move to high-value subjects like mocks, stubs, and isolation, including frameworks such as Moq, FakeItEasy, and Typemock Isolator. You'll explore test patterns and organization, working with legacy code, and even "untestable" code. Along the way, you'll learn about integration testing and techniques and tools for testing databases and other technologies. </p><p><b>About this Book</b> </p><p>You know you should be unit testing, so why aren't you doing it? If you're new to unit testing, if you find unit testing tedious, or if you're just not getting enough payoff for the effort you put into it, keep reading. </p><p><i>The Art of Unit Testing, Second Edition</i> guides you step by step from writing your first simple unit tests to building complete test sets that are maintainable, readable, and trustworthy. You'll move quickly to more complicated subjects like mocks and stubs, while learning to use isolation (mocking) frameworks like Moq, FakeItEasy, and Typemock Isolator. You'll explore test patterns and organization, refactor code applications, and learn how to test "untestable" code. Along the way, you'll learn about integration testing and techniques for testing with databases. </p><p>The examples in the book use C#, but will benefit anyone using a statically typed language such as Java or C++. </p><p>Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. </p><p><b>What's Inside</b></p><ul><li>Create readable, maintainable, trustworthy tests</li> <li>Fakes, stubs, mock objects, and isolation (mocking) frameworks</li> <li>Simple dependency injection techniques</li> <li>Refactoring legacy code</li></ul><p><b>About the Author</b> </p><p><b>Roy Osherove</b> has been coding for over 15 years, and he consults and trains teams worldwide on the gentle art of unit testing and test-driven development. His blog is at ArtOfUnitTesting.com. </p><p><b>Table of Contents</b></p><ol><h5>PART 1 GETTING STARTED</h5><ol><li>The basics of unit testing</li> <li>A first unit test</li><br/><h5>PART 2 CORE TECHNIQUES</h5> <li>Using stubs to break dependencies</li><br/><li>Interaction testing using mock objects</li><br/><li>Isolation (mocking) frameworks</li><br/><li>Digging deeper into isolation frameworks</li><br/><h5>PART 3 THE TEST CODE</h5> <li>Test hierarchies and organization</li><br/><li>The pillars of good unit tests</li><br/><h5>PART 4 DESIGN AND PROCESS</h5> <li>Integrating unit testing into the organization</li><br/><li>Working with legacy code </li> <li>Design and testability</li></ol></ol></div>sourceProduct Description
商品描述(中文翻譯)
內容<div><p><b>摘要</b> </p><p><i>《單元測試的藝術,第二版》</i>從撰寫第一個簡單測試到開發可維護、可讀性高且可信賴的強大測試集,逐步引導您。您將掌握基礎概念,並迅速進入像是模擬物件、存根和隔離等高價值主題,包括Moq、FakeItEasy和Typemock Isolator等框架。您將探索測試模式和組織,處理舊代碼,甚至是「無法測試」的代碼。在此過程中,您將學習整合測試以及測試資料庫和其他技術的技巧和工具。</p><p><b>關於本書</b> </p><p>您知道應該進行單元測試,那為什麼您還沒開始呢?如果您對單元測試還不熟悉,如果您覺得單元測試很繁瑣,或者您對投入的努力所獲得的回報不夠滿意,請繼續閱讀。</p><p><i>《單元測試的藝術,第二版》</i>從撰寫第一個簡單單元測試到建立可維護、可讀性高且可信賴的完整測試集,逐步引導您。您將迅速進入更複雜的主題,如模擬物件和存根,同時學習使用Moq、FakeItEasy和Typemock Isolator等隔離(模擬)框架。您將探索測試模式和組織,重構應用程式代碼,並學習如何測試「無法測試」的代碼。在此過程中,您將學習整合測試以及與資料庫進行測試的技巧。</p><p>本書中的範例使用C#,但對於使用靜態類型語言(如Java或C++)的任何人都有益處。</p><p>購買印刷版書籍將包含Manning Publications提供的PDF、Kindle和ePub格式的免費電子書。</p><p><b>內容簡介</b></p><ul><li>創建可讀性高、可維護性高且可信賴的測試</li> <li>虛擬物件、存根、模擬物件和隔離(模擬)框架</li> <li>簡單的依賴注入技術</li> <li>重構舊代碼</li></ul><p><b>關於作者</b> </p><p><b>Roy Osherove</b>已經從事編程工作超過15年,並在全球各地為團隊提供單元測試和測試驅動開發的諮詢和培訓。他的博客位於ArtOfUnitTesting.com。</p><p><b>目錄</b></p><ol><h5>第1部分 入門</h5><ol><li>單元測試的基礎知識</li> <li>第一個單元測試</li><br/><h5>第2部分 核心技術</h5> <li>使用存根來破解依賴關係</li><br/><li>使用模擬物件進行交互測試</li><br/><li>隔離(模擬)框架</li><br/><li>深入研究隔離框架</li><br/><h5>第3部分 測試代碼</h5> <li>測試層次結構和組織</li><br/><li>良好單元測試的支柱</li><br/><h5>第4部分 設計和流程</h5> <li>將單元測試整合到組織中</li><br/><li>處理舊代碼</li> <li>設計和可測試性</li></ol></ol></div>來源產品描述