Testable JavaScript (Paperback)

Testable JavaScript (Paperback)

作者: Mark Ethan Trostler
出版社: O'Reilly
出版在: 2013-02-19
ISBN-13: 9781449323394
ISBN-10: 1449323391
裝訂格式: Paperback
總頁數: 274 頁





內容描述


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




相關書籍

CSS重構樣式表性能調優

作者 [美]史蒂夫·林德斯特倫

2013-02-19

Modern JavaScript for the Impatient

作者 Horstmann Cay S.

2013-02-19

HTML5 Canvas, 2/e (Paperback)

作者 Steve Fulton Jeff Fulton

2013-02-19