O'Reilly logo

Backbone.js Testing by Ryan Roemer

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Summary

In this chapter, we learned how to apply Sinon.JS stubs, mocks, and other fakes to isolate Backbone.js components, reduce test complexity, and enhance predictable test behavior. We also finished all of the application tests that we will discuss in this book for the reference Notes application. Taking a moment to reflect upon our progress leading up to this point, we have now covered the basics of creating a test infrastructure and applying fundamental testing concepts to all of the various Backbone.js application components.

But, this is really just the beginning of the substantive testing journey; the tests presented in this book are a subset of those that would be desirable for a full production Backbone.js application. Our hope is that ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required