The Art of Unit Testing : With Examples in JavaScript, 3/e (Paperback)
暫譯: 單元測試的藝術:JavaScript 範例,第三版 (平裝本)
Roy Osherove , Vladimir Khorikov
- 出版商: Manning
- 出版日期: 2024-03-26
- 定價: $1,800
- 售價: 9.0 折 $1,620
- 語言: 英文
- 頁數: 300
- 裝訂: Quality Paper - also called trade paper
- ISBN: 1617297488
- ISBN-13: 9781617297489
-
相關分類:
Unit Test 單元測試
-
相關翻譯:
單元測試的藝術|以 JavaScript 為例 3/e (繁中版)
立即出貨
買這商品的人也買了...
-
Pro Zend Framework Techniques: Build a Full CMS Project$1,770$1,682 -
學徒模式-優秀軟體開發者的養成之路 (Apprenticeship Patterns: Guidance for the Aspiring Software Craftsman)$420$332 -
CSS Secrets 中文版|解決網頁設計問題的有效秘訣 (CSS Secrets: Better Solutions to Everyday Web Design Problems)$680$537 -
JavaScript 資料結構及演算法實作 (Learning JavaScript Data Structures and Algorithms)$320$250 -
Arduino 官方正版 Genuino 101$1,700$1,700 -
單元測試的藝術, 2/e (The Art of Unit Testing: with examples in C#, 2/e)$650$507 -
Raspberry Pi 3 Model B+ (UK製)$4,620$4,389 -
晉昇軟體最高殿堂:Jenkins2 持續整合大師之路$600$474 -
0 陷阱!0 誤解!8 天重新認識 JavaScript!(iT邦幫忙鐵人賽系列書)$550$468 -
$1,320Deep Learning with JavaScript: Neural Networks in Tensorflow.Js -
PortHub Tee (藍色)XL號$600$600 -
JavaScript 技術手冊$560$476 -
TypeScript 程式設計 (Programming TypeScript)$580$458 -
原型設計|善用原型設計和使用者測試創造成功產品 (Prototyping for Designers)$580$458 -
$1,584Microservices Security in Action -
Effective TypeScript 中文版|提昇 TypeScript 技術的 62個具體作法 (Effective TypeScript)$580$458 -
精通 Python|運用簡單的套件進行現代運算, 2/e (Introducing Python: Modern Computing in Simple Packages, 2/e)$880$695 -
高品質軟體文件|持續分享技術與知識 (Living Documentation: Continuous Knowledge Sharing by Design)$680$537 -
和艦長一起 30 天玩轉 GitLab(iT邦幫忙鐵人賽系列書)$500$390 -
重新認識 Vue.js:008天絕對看不完的 Vue.js 3 指南$600$468 -
$2,070Multithreaded JavaScript: Concurrency Beyond the Event Loop -
OpenTelemetry 入門指南:建立全面可觀測性架構(iThome鐵人賽系列書)【軟精裝】$750$585 -
The Complete Obsolete Guide to Generative AI$1,580$1,501 -
無瑕的程式碼 函數式設計篇:原則、模式與實踐$780$608 -
AI 工程|從基礎模型建構應用 (AI Engineering : Building Applications with Foundation Models)$1,200$948
商品描述
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。他曾指導過許多團隊了解單元測試的各個細節。