Testable JavaScript (Paperback)
暫譯: 可測試的 JavaScript (平裝本)
Mark Ethan Trostler
- 出版商: O'Reilly
- 出版日期: 2013-03-05
- 定價: $1,150
- 售價: 8.0 折 $920
- 語言: 英文
- 頁數: 274
- 裝訂: Paperback
- ISBN: 1449323391
- ISBN-13: 9781449323394
-
相關分類:
JavaScript
立即出貨
買這商品的人也買了...
-
$788Practical JavaScript, DOM Scripting and Ajax Projects
-
$990$842 -
$380$342 -
$380$342 -
$2,100$1,995 -
$1,330Maintainable JavaScript (Paperback)
-
$400$316 -
$2,350$2,233 -
$580$493 -
$580$452 -
$380$342 -
$450$356 -
$1,130$893 -
$550$495 -
$840Interactive Data Visualization for the Web (Paperback)
-
$480$408 -
$490$417 -
$580$522 -
$360$284 -
$280$218 -
$1,615HTML5 Canvas, 2/e (Paperback)
-
$1,050$998 -
$560Building Hybrid Android Apps with Java and JavaScript: Applying Native Device APIs (Paperback)
-
$474CISSP 官方學習指南, 8/e ((ISC)2 CISSP Certified Information Systems Security Professional Official Study Guide, 8/e)
-
$1,368$1,300
商品描述
One skill that’s essential for any professional JavaScript developer is the ability to write testable code. This book shows you what writing and maintaining testable JavaScript for the client- or server-side actually entails, whether you’re creating a new application or rewriting legacy code.
From methods to reduce code complexity to unit testing, code coverage, debugging, and automation, you’ll learn a holistic approach for writing JavaScript code that you and your colleagues can easily fix and maintain going forward. Testing JavaScript code is complicated. This book helps you simply the process considerably.
- Get an overview of Agile, test-driven development, and behavior-driven development
- Use patterns from static languages and standards-based JavaScript to reduce code complexity
- Learn the advantages of event-based architectures, including modularity, loose coupling, and reusability
- Explore tools for writing and running unit tests at the functional and application level
- Generate code coverage to measure the scope and effectiveness of your tests
- Conduct integration, performance, and load testing, using Selenium or CasperJS
- Use tools for in-browser, Node.js, mobile, and production debugging
- Understand what, when, and how to automate your development processes
商品描述(中文翻譯)
一項對於任何專業 JavaScript 開發者來說至關重要的技能是撰寫可測試代碼的能力。本書將向您展示在客戶端或伺服器端撰寫和維護可測試 JavaScript 實際上涉及的內容,無論您是創建新應用程序還是重寫舊代碼。
從減少代碼複雜度的方法到單元測試、代碼覆蓋率、除錯和自動化,您將學習到一種全面的方法來撰寫 JavaScript 代碼,使您和您的同事能夠輕鬆修復和維護。測試 JavaScript 代碼是複雜的。本書幫助您大大簡化這一過程。
- 獲得敏捷開發、測試驅動開發和行為驅動開發的概述
- 使用靜態語言和基於標準的 JavaScript 的模式來減少代碼複雜度
- 了解基於事件的架構的優勢,包括模組化、鬆耦合和可重用性
- 探索用於撰寫和運行功能和應用層級單元測試的工具
- 生成代碼覆蓋率以衡量測試的範圍和有效性
- 使用 Selenium 或 CasperJS 進行整合、性能和負載測試
- 使用工具進行瀏覽器內、Node.js、移動和生產環境的除錯
- 了解什麼時候、如何自動化您的開發過程