All books / Book
Test-Driving JavaScript Applications: Rapid, Confident, Maintainable Code
Full title: | Test-Driving JavaScript Applications: Rapid, Confident, Maintainable Code |
---|---|
ISBN: | 9781680501742 |
ISBN 10: | 1680501747 |
Authors: | |
Publisher: | Pragmatic Bookshelf |
Edition: | 1 |
Num. pages: | 364 |
Binding: | Paperback |
Language: | en |
Published on: | 2016 |
Read the reviews and/or buy it on Amazon.com
Synopsis
Debunk the myth that JavaScript is not easily testable. Whether you use Node.js, Express, MongoDB, jQuery, AngularJS, or directly manipulate the DOM, you can test-drive JavaScript. Learn the craft of writing meaningful, deterministic automated tests with Karma, Mocha, and Chai. Test asynchronous JavaScript, decouple and properly mock out dependencies, measure code coverage, and create lightweight modular designs of both server-side and client-side code. Your investment in writing tests will pay high dividends as you create code that's predictable and cost-effective to change.