Backbone.js Testing Book
The book progresses from Mocha test suites and Chai assertions to advanced test mocks and stubs with Sinon.JS. The requisite libraries and utilities are introduced with in-depth examples and best practices for integration with your applications. The book guides you through the test planning and implementation processes for your application models, views, routers, and other Backbone.js components.
Backbone.js Testing gives you the tools, examples, and assistance to test your Backbone.js web applications thoroughly, quickly, and with confidence.
To provide a better idea of the book’s structure, the tentative chapter titles are as follows:
- Setting up a Test Infrastructure
- Creating a Backbone.js Application Test Plan
- Test Assertions, Specs, and Suites
- Test Spies
- Test Stubs and Mocks
- Automated Web Testing