The Art of Unit Testing : With Examples in JavaScript, 3/e (Paperback)
暫譯: 單元測試的藝術:JavaScript 範例,第三版 (平裝本)
Osherove, Roy, Khorikov, Vladimir
- 出版商: Manning
- 出版日期: 2024-03-26
- 售價: $1,970
- 貴賓價: 9.5 折 $1,872
- 語言: 英文
- 頁數: 300
- 裝訂: Quality Paper - also called trade paper
- ISBN: 1617297488
- ISBN-13: 9781617297489
-
相關分類:
JavaScript、軟體測試、Unit Test 單元測試
立即出貨 (庫存 < 4)
買這商品的人也買了...
-
$1,790$1,701 -
$420$332 -
$680$537 -
$320$250 -
$1,700$1,700 -
$650$553 -
$4,620$4,389 -
$800$632 -
$380$342 -
$600$474 -
$550$429 -
$1,650$1,568 -
$600$600 -
$560$442 -
$580$458 -
$580$458 -
$1,980$1,881 -
$580$458 -
$880$695 -
$680$476 -
$500$390 -
$600$468 -
$1,840Multithreaded JavaScript: Concurrency Beyond the Event Loop
-
$750$585 -
$1,650$1,568
相關主題
商品描述
The Art of Unit Testing, Third Edition takes you below the surface and understand how unit testing can transform the way you deliver and maintain software.
The Art of Unit Testing, Third Edition updates an international bestseller to reflect modern development tools and practices. This expanded edition teaches you to write unit tests for async and observable code, as well as methods of faking functions, modules and refactorings. You'll explore test patterns and organization, working with legacy code, and even "untestable" code. The many tool-agnostic examples are presented in JavaScript, and are carefully designed so that they apply to code written in any language.
Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.
About the technology
Unit testing is a universally-adopted practice on dev teams of all sizes. Great developers will tell you that testing is as much a state of mind as a collection of tools and practices. The Art of Unit Testing, Third Edition takes you below the surface and understand how unit testing can transform the way you deliver and maintain software. Now with examples in JavaScript, this new edition has been updated to reflect the characteristics of a modern codebase, including async and modularized, distributed services. The practices and patterns you'll learn can also be easily applied to other languages, including C#, Java, and Python.
About the book
The Art of Unit Testing, Third Edition guides you step by step from your first simple unit tests to building complete test sets that are maintainable, readable, and trustworthy. Now with examples using JavaScript and Node, this expanded third edition teaches you to write unit tests for async and observable code, as well as methods of faking functions, modules and refactorings. You'll get to grips with complex subjects such as mocks and stubs, explore how to handle tricky legacy codebases, and save yourself time with tests that function for both frontend and backend applications. The Art of Unit Testing, Third Edition is an essential guide for any unit tester who wants to feel confident writing code that's easier to create, maintain, and adapt.
What's inside
- Creating readable, maintainable, and trustworthy tests Working with fakes, stubs, mock objects, and isolation (mocking) frameworks Simple dependency injection techniques Refactoring legacy code
About the reader
The examples in the book use JavaScript and Node and cover the full dev stack.
About the author
Roy Osherove is an internationally-recognized expert in unit testing and agile software methodology. Still an active coder, he consults and trains teams worldwide on the gentle art of unit testing and test-driven development. He is also the author of Elastic Leadership. Roy's blog is at ArtOfUnitTesting.com.
Vladimir Khorikov is the author of Unit Testing Principles, Practices, and Patterns, Pluralsight author, and Microsoft MVP. He has mentored numerous teams on the ins and outs of unit testing.
商品描述(中文翻譯)
《單元測試的藝術(第三版)》深入探討單元測試如何改變您交付和維護軟體的方式。
《單元測試的藝術(第三版)》更新了這本國際暢銷書,以反映現代開發工具和實踐。這個擴展版教您如何為非同步(async)和可觀察(observable)代碼編寫單元測試,以及模擬函數、模組和重構的方法。您將探索測試模式和組織,處理遺留代碼,甚至是「無法測試」的代碼。許多與工具無關的範例以 JavaScript 呈現,並經過精心設計,以便適用於任何語言編寫的代碼。
購買印刷版書籍可獲得 Manning Publications 提供的免費電子書,格式包括 PDF、Kindle 和 ePub。
關於技術
單元測試是所有規模開發團隊普遍採用的實踐。優秀的開發者會告訴您,測試既是一種心態,也是一系列工具和實踐的集合。《單元測試的藝術(第三版)》深入探討單元測試如何改變您交付和維護軟體的方式。這個新版本提供了 JavaScript 的範例,並更新以反映現代代碼庫的特徵,包括非同步和模組化的分散式服務。您將學到的實踐和模式也可以輕鬆應用於其他語言,包括 C#、Java 和 Python。
關於本書
《單元測試的藝術(第三版)》逐步指導您從第一個簡單的單元測試開始,建立可維護、可讀和可靠的完整測試集。這個擴展的第三版現在使用 JavaScript 和 Node 的範例,教您如何為非同步和可觀察代碼編寫單元測試,以及模擬函數、模組和重構的方法。您將掌握複雜的主題,如模擬(mocks)和存根(stubs),探索如何處理棘手的遺留代碼庫,並通過適用於前端和後端應用的測試節省時間。《單元測試的藝術(第三版)》是任何希望自信編寫更易於創建、維護和適應代碼的單元測試者的必備指南。
內容概覽
- 創建可讀、可維護和可靠的測試
- 使用模擬、存根、模擬對象和隔離(mocking)框架
- 簡單的依賴注入技術
- 重構遺留代碼
關於讀者
本書中的範例使用 JavaScript 和 Node,涵蓋完整的開發堆疊。
關於作者
**Roy Osherove** 是國際公認的單元測試和敏捷軟體方法論專家。他仍然是一名活躍的程式設計師,並在全球範圍內為團隊提供有關單元測試和測試驅動開發的諮詢和培訓。他也是《彈性領導力》的作者。Roy 的部落格位於 ArtOfUnitTesting.com。
**Vladimir Khorikov** 是《單元測試原則、實踐和模式》的作者,Pluralsight 的作者,以及 Microsoft MVP。他曾指導多個團隊深入了解單元測試的各個方面。
作者簡介
Roy Osherove is an internationally-recognized expert in unit testing and agile software methodology. Still an active coder, he consults and trains teams worldwide on the gentle art of unit testing and test-driven development. He is also the author of Elastic Leadership (Manning 2016). Roy's blog is at ArtOfUnitTesting.com.
Vladimir Khorikov is the author of Unit Testing Principles, Practices, and Patterns, Pluralsight author, and Microsoft MVP. He has mentored numerous teams on the ins and outs of unit testing.
作者簡介(中文翻譯)
Roy Osherove 是國際公認的單元測試和敏捷軟體方法論專家。他仍然是一名活躍的程式設計師,並在全球範圍內為團隊提供有關單元測試和測試驅動開發的諮詢和培訓。他也是 Elastic Leadership(Manning 2016)的作者。Roy 的部落格位於 ArtOfUnitTesting.com。
Vladimir Khorikov 是 Unit Testing Principles, Practices, and Patterns 的作者,Pluralsight 的作者,以及 Microsoft MVP。他曾指導過許多團隊了解單元測試的各個細節。