Test-Driving JavaScript Applications

Rapid, Confident, Maintainable Code



Bookstore > Books > Test-Driving JavaScript Applications

Price$31.74 - $42.31
Rating
AuthorVenkat Subramaniam
PublisherThe Pragmatic Programmers
Published2016
Pages362
LanguageEnglish
FormatPaper book / ebook (PDF)
ISBN-101680501747
ISBN-139781680501742
EBook Hardcover Paperback

Design and code JavaScript applications with automated tests. Writing meaningful tests is a skill that takes learning, some unlearning, and a lot of practice, and with this book, you'll hone that skill. Fire up the editor and get hands-on through practical exercises for effective automated testing and designing maintainable, modular code.

Start by learning when and why to do manual testing vs. automated verification. Focus tests on the important things, like the pre-conditions, the invariants, complex logic, and gnarly edge cases. Then begin to design asynchronous functions using automated tests. Carefully decouple and mock out intricate dependencies such as the DOM, geolocation API, file and database access, and Ajax calls to remote servers.

Step by step, test code that uses Node.js, Express, MongoDB, jQuery, and AngularJS. Know when and how to use tools such as Chai, Istanbul, Karma, Mocha, Protractor, and Sinon. Create tests with minimum effort and run them fast without having to spin up web servers or manually edit HTML pages to run in browsers. Then explore end-to-end testing to ensure all parts are wired and working well together.


  1. (10 books)


4 5 28

Similar Books


Jasmine JavaScript Testing, 2nd Edition

Jasmine JavaScript Testing, 2nd Edition

by Paulo Ragonha

Take your testing of JavaScript applications to a new level of efficiency and reliability with the help of this book. Starting with the fundamentals of Jasmine and behavior-driven development (BDD), you will learn about tooling and automation. You will learn how to create a sustainable code base with the help of Jasmine. You will also tak...

Price:  $33.99  |  Publisher:  Packt Publishing  |  Release:  2015

Test-Driven JavaScript Development

Test-Driven JavaScript Development

by Christian Johansen

For JavaScript developers working on increasingly large and complex projects, effective automated testing is crucial to success. Test-Driven JavaScript Development is a complete, best-practice guide to agile JavaScript testing and quality assurance with the test-driven development (TDD) methodology. Leading agile JavaScript developer Chri...

Price:  $10.29  |  Publisher:  Addison-Wesley  |  Release:  2010

Jasmine Cookbook

Jasmine Cookbook

by Munish Sethi

Jasmine provides a rich set of libraries to design and develop tests for JavaScript applications. Its tests aim to run on any JavaScript-enabled platform and have easy-to-read syntax.This book is a comprehensive guide to designing and developing Jasmine tests to produce world-class software. The recipes are elaborated using examples from ...

Price:  $49.99  |  Publisher:  Packt Publishing  |  Release:  2015

Building Enterprise JavaScript Applications

Building Enterprise JavaScript Applications

by Daniel Li

With the over-abundance of tools in the JavaScript ecosystem, it's easy to feel lost. Build tools, package managers, loaders, bundlers, linters, compilers, transpilers, typecheckers - how do you make sense of it all?In this book, we will build a simple API and React application from scratch. We begin by setting up our development env...

Price:  $44.99  |  Publisher:  Packt Publishing  |  Release:  2018

Testing JavaScript Applications

Testing JavaScript Applications

by Lucas da Costa

Automated testing will help you write high-quality software in less time, with more confidence, fewer bugs, and without constant manual oversight. Testing JavaScript Applications is a guide to building a comprehensive and reliable JS application testing suite, covering both how to write tests and how JS testing tools work under the hood. ...

Price:  $34.12  |  Publisher:  Manning  |  Release:  2021

Developing Backbone.js Applications

Developing Backbone.js Applications

by Addy Osmani

If you want to build your site's frontend with the single-page application (SPA) model, this hands-on book shows you how to get the job done with Backbone.js. You'll learn how to create structured JavaScript applications, using Backbone's own flavor of model-view-controller (MVC) architecture.Start with the basics of MVC, S...

Price:  $19.99  |  Publisher:  O'Reilly Media  |  Release:  2013

Modern JavaScript Applications

Modern JavaScript Applications

by Narayan Prusty

Over the years, JavaScript has become vital to the development of a wide range of applications with different architectures. But JS moves lightning fast, and it's easy to fall behind. Modern JavaScript Applications is designed to get you exploring the latest features of JavaScript and how they can be applied to develop high-quality a...

Price:  $34.99  |  Publisher:  Packt Publishing  |  Release:  2016

Object-Oriented JavaScript

Object-Oriented JavaScript

by Stoyan Stefanov

This book treats JavaScript as a serious object-oriented language, showing you how to build robust, maintainable, and powerful libraries and applications. Along the way, we cover many of the recent innovations such as AJAX, JSON, and interesting design and coding patterns. After reading this book, you'll be prepared to ace your JavaS...

Price:  $23.99  |  Publisher:  Packt Publishing  |  Release:  2008