Testable Javascript
, by Trostler, Mark EthanNote: Supplemental materials are not guaranteed with Rental or Used book purchases.
- ISBN: 9781449323394 | 1449323391
- Cover: Paperback
- Copyright: 1/31/2013
That's right: JavaScript code is testable, despite the lack of unit test standards for this language. With this book, you'll discover how to devise excellent tests and real-world testing plans for your existing JavaScript code. Developers starting out on a new project will greatly benefit from these guidelines. Testing a language that runs within many different implementations and environments is inherently difficult-and since most JavaScript environments are UI-based, automated testing becomes even more difficult. This guide shows developers and their managers how to overcome these problems to test JavaScript code efficiently. Topics include: Which types of Javascript testing are most effective When and why should you run tests on Javascript code Code patterns and anti-patterns that promote and inhibit Javascript testing Integrating unit tests with your development and build environments (automated test running and reporting) Code coverage: how to get it, interpret it, and automatically generate it