Dimensions
179 x 226 x 27mm
The first complete, example-rich, best-practice guide to agile JavaScript testing and Quality Assurance with TDD and BDD
* Why automated testing is critical to JavaScript QA and code design - and how to implement it successfully.
* Proven workflows, tools, and libraries for using TDD or BDD with JavaScript.
* Covers testing code for browsers, servers, Mozilla's Rhino, Greasemonkey, and Firefox extensions.
* Shows how to use agile principles to build robust JavaScript software from the ground up.
JavaScript has long been the leading language for web developers: it is now used widely in both front-end and back-end development, in areas ranging from user interfaces to complex server-side tasks. However, JavaScript has a reputation for poor development methodologies and weak quality assurance. Test Driven JavaScript Development is the solution. This book walks through every facet of applying state-of-the-art, automated test-driven and behavior-driven testing techniques to JavaScript code. Christian Johansen covers the entire process of JavaScript development - from start to deployment - using real-life examples driven by unit tests every step of the way. He demonstrates how to use Test-Driven Development and Behavior-Driven Development principles to build more robust JavaScript applications from the ground up - and how to integrate JavaScript development with agile methods to write better code at lower cost. Through relevant, up-to-date examples, he addresses key issues ranging from code design to performance optimization. This is the only JavaScript testing book of its kind - and the only one web developers will ever need.