Test-Driving JavaScript Applications /

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 Jav...

Full description

Bibliographic Details
Main Author: Subramaniam, Venkat (Author)
Corporate Author: Safari, an O'Reilly Media Company
Format: eBook
Language:English
Published: Pragmatic Bookshelf, 2016.
Edition:1st edition.
Subjects:
Online Access:Connect to this electronic resource
Description
Summary: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.
Item Description:Electronic resource.
Physical Description:1 online resource (200 pages)
Format:Mode of access: World Wide Web.