What and how to test Backbone applications

Backbone library has different components, each one with its own intentions and responsibilities, that's why you have to test them differently. Keep it in mind that you should only test your code and not the Backbone built-in functionalities.

In the next sections, you will see what are the parts of your Backbone applications and how to test them; we will start from simple things and then go for more complex ones. Then, you will learn how to isolate modules to only test one module at time.

Get Mastering Backbone.js now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.