Testable JavaScript (Paperback)
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$891 -
$380$342 -
$380$342 -
$2,100$1,995 -
$1,330$1,260 -
$400$316 -
$2,185CLR via C#, 4/e (Paperback)
-
$580$493 -
$580$452 -
$380$342 -
$450$356 -
$1,130$961 -
$550$495 -
$840Interactive Data Visualization for the Web (Paperback)
-
$480$408 -
$490$417 -
$580$522 -
$360$284 -
$280$218 -
$1,615$1,530 -
$1,030$979 -
$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,163CISSP 官方學習手冊, 9/e
相關主題
商品描述
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、移動設備和生產環境的除錯工具
- 瞭解何時以及如何自動化您的開發流程
以上是本書的內容概述。