JavaScript Testing with Jasmine: JavaScript Behavior-Driven Development (Paperback)
暫譯: 使用 Jasmine 進行 JavaScript 測試:JavaScript 行為驅動開發 (平裝本)
Evan Hahn
- 出版商: O'Reilly
- 出版日期: 2013-05-07
- 定價: $675
- 售價: 9.5 折 $641
- 貴賓價: 9.0 折 $608
- 語言: 英文
- 頁數: 54
- 裝訂: Paperback
- ISBN: 1449356370
- ISBN-13: 9781449356378
-
相關分類:
Unit Test 單元測試
立即出貨 (庫存=1)
買這商品的人也買了...
-
深入淺出設計模式 (Head First Design Patterns)$880$695 -
TCP/IP 互連網路 (Internetworking with TCP/IP: Principles, Protocols, and Architecture, 5/e)$550$495 -
世界第一簡單資料庫$300$255 -
精通 Python 3 程式設計, 2/e (Programming in Python 3: A Complete Introduction to the Python Language, 2/e)$680$537 -
無瑕的程式碼-敏捷軟體開發技巧守則 (Clean Code: A Handbook of Agile Software Craftsmanship)$580$452 -
超圖解 Arduino 互動設計入門 (附 Arduino UNO R3 開發板)$1,130$961 -
Arduino UNO R3 開發板(副廠相容版)附傳輸線$400$380 -
Arduino 基礎入門套件 (附範例程式下載連結)$950$903 -
易讀程式之美學-提升程式碼可讀性的簡單法則 (The Art of Readable Code)$480$379 -
猛虎出柙雙劍合璧版-最新 OCA / OCP Java SE 7 Programmer 專業認證$880$695 -
Adobe Edge Animate: The Missing Manual 國際中文版$580$458 -
永遠懷抱希望:柳井正給所有人的再成長計畫$300$255 -
Operating System Concepts, 9/e (IE-Paperback)$1,680$1,646 -
透視 C語言指標-深度探索記憶體管理核心技術 (Understanding and Using C Pointers)$480$379 -
CCNA 網路規劃與管理實務$780$663 -
超圖解 Arduino 互動設計入門, 2/e$680$578 -
菲絲恩教你學會 Python$300$234 -
高感度大麥克風感測器$80$76 -
Raspberry Pi 最佳入門與實戰應用-深入 Raspberry Pi 的全方位指南(附87段教學與執行影片/範例程式檔)$450$356 -
iOS 8 程式設計實戰--205 個快速上手的開發技巧$500$395 -
啊哈!圖解演算法必學基礎$350$298 -
Swift初學特訓班--iOS App 開發快速養成與實戰(附近3小時新手入門與關鍵影音教學/全書範例程式)$420$332 -
開發 Android APP 使用 App Inventor 2 輕鬆學$620$527 -
Android 程式設計入門、應用到精通--增訂第三版 (適用 5.X~1.X, Android Wear 穿戴式裝置)$560$442 -
RPi2B + USB帶開關 + 富士通電源 + 8GB$2,000$1,960
相關主題
商品描述
Get a concise introduction to Jasmine, the popular behavior-driven testing framework for JavaScript. This practical guide shows you how to write unit tests with Jasmine that automatically check for bugs in your application. Learn how to write specifications for individual components, and then use those specs to test the code you write.
Throughout the book, author Evan Hahn focuses primarily on methods for testing browser-based JavaScript applications, but you’ll also discover how to use Jasmine with CoffeeScript, Node.js, Ruby on Rails, and Ruby without Rails. You won’t find a more in-depth source for Jasmine anywhere.
- Get an overview of both test-driven and behavior-driven development
- Write useful specs by determining what you need to test—and what you don’t
- Test the behavior of new and existing code against the specs you create
- Apply Jasmine matchers and discover how to build your own
- Organize code suites into groups and subgroups as your code becomes more complex
- Use a Jasmine spy in place of a function or an object—and learn why it’s valuable
商品描述(中文翻譯)
獲得對 Jasmine 的簡明介紹,這是流行的行為驅動測試框架,專為 JavaScript 設計。本實用指南將教您如何使用 Jasmine 編寫單元測試,自動檢查應用程式中的錯誤。學習如何為個別組件編寫規範,然後使用這些規範來測試您編寫的代碼。
在整本書中,作者 Evan Hahn 主要專注於測試基於瀏覽器的 JavaScript 應用程式的方法,但您還會發現如何將 Jasmine 與 CoffeeScript、Node.js、Ruby on Rails 和不使用 Rails 的 Ruby 結合使用。您不會在其他地方找到更深入的 Jasmine 資源。
- 獲得測試驅動開發和行為驅動開發的概述
- 通過確定您需要測試的內容和不需要測試的內容來編寫有用的規範
- 根據您創建的規範測試新代碼和現有代碼的行為
- 應用 Jasmine 匹配器並學習如何構建自己的匹配器
- 隨著代碼變得更加複雜,將代碼套件組織成組和子組
- 使用 Jasmine spy 代替函數或對象,並了解其價值所在
