Testable Javascript: Ensuring Reliable Code by Mark Ethan TrostlerTestable Javascript: Ensuring Reliable Code by Mark Ethan Trostler

Testable Javascript: Ensuring Reliable Code

byMark Ethan Trostler

Paperback | February 3, 2013

Pricing and Purchase Info

$40.49 online 
$45.50 list price save 11%
Earn 202 plum® points

Prices and offers may vary in store


In stock online

Ships free on orders over $25

Available in stores


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 experienced JavaScript developers 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
Mark Ethan Trostler has been writing and testing code for more than 20 years at startups (IPivot) and large corporations (Qualcomm, Intel, Redback Networks, Juniper Networks, Yahoo, and currently Google). Previously, as a Senior Principal Front End Engineer on the Yahoo! Mail team, he helped spearhead testing and quality for the latest...
Title:Testable Javascript: Ensuring Reliable CodeFormat:PaperbackDimensions:274 pages, 9.19 × 7 × 0.57 inPublished:February 3, 2013Publisher:O'Reilly MediaLanguage:English

The following ISBNs are associated with this title:

ISBN - 10:1449323391

ISBN - 13:9781449323394


Table of Contents

  • Dedication
  • Preface
  • Chapter 1: Testable JavaScript
  • Chapter 2: Complexity
  • Chapter 3: Event-Based Architectures
  • Chapter 4: Unit Tests
  • Chapter 5: Code Coverage
  • Chapter 6: Integration, Performance, and Load Testing
  • Chapter 7: Debugging
  • Chapter 8: Automation
  • Colophon