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,770$1,682 -
$420$332 -
$680$537 -
$320$250 -
$1,700$1,700 -
$650$507 -
$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$537 -
$500$390 -
$600$468 -
$1,840Multithreaded JavaScript: Concurrency Beyond the Event Loop
-
$750$563 -
$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.
商品描述(中文翻譯)
《單元測試的藝術,第三版》帶你深入了解單元測試如何改變軟體交付和維護的方式。這本國際暢銷書的第三版更新了現代開發工具和實踐,教你為異步和可觀察的程式碼撰寫單元測試,以及虛擬函數、模組和重構的方法。你將探索測試模式和組織,處理舊代碼,甚至「不可測試」的代碼。這本書的許多與工具無關的範例都是用JavaScript呈現的,並且精心設計,適用於任何語言的程式碼。
購買紙質書籍還包括Manning Publications提供的PDF、Kindle和ePub格式的免費電子書。
單元測試是各種規模的開發團隊普遍採用的實踐。優秀的開發人員會告訴你,測試既是一種心態,也是一系列工具和實踐的集合。《單元測試的藝術,第三版》帶你深入了解單元測試如何改變軟體交付和維護的方式。現在這本新版書籍中有JavaScript的範例,已經更新以反映現代程式碼庫的特性,包括異步和模組化的分佈式服務。你將學習到的實踐和模式也可以輕鬆應用於其他語言,包括C#、Java和Python。
《單元測試的藝術,第三版》逐步指導你從最簡單的單元測試開始,建立可維護、可讀性高且可信賴的完整測試集。現在這本擴展的第三版書籍使用JavaScript和Node的範例,教你為異步和可觀察的程式碼撰寫單元測試,以及虛擬函數、模組和重構的方法。你將掌握複雜主題,如模擬和存根,探索如何處理棘手的舊代碼,並節省時間,因為這些測試適用於前端和後端應用程式。《單元測試的藝術,第三版》是任何單元測試人員的必備指南,讓你在撰寫更容易創建、維護和適應的程式碼時感到自信。
內容包括:
- 創建可讀性高、可維護性高且可信賴的測試
- 使用虛擬物件、存根、模擬物件和隔離(模擬)框架
- 簡單的依賴注入技術
- 重構舊代碼
這本書的範例使用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 是國際知名的單元測試和敏捷軟體方法論專家。作為一位仍然活躍於編碼的專業人士,他在全球范圍內為團隊提供單元測試和測試驅動開發的培訓和諮詢服務。他還是《彈性領導》(Manning 2016)一書的作者。Roy的部落格位於ArtOfUnitTesting.com。
Vladimir Khorikov 是《單元測試原則、實踐和模式》的作者,Pluralsight的作者,也是微軟MVP。他指導過許多團隊進行單元測試的方方面面。