Book Image

Backbone.js Testing

By : Ryan Glenn Roemer
Book Image

Backbone.js Testing

By: Ryan Glenn Roemer

Overview of this book

Table of Contents (13 chapters)
Backbone.js Testing
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Finding the rest of the Notes application components


With the previous view and router tests completed, we are now finished with the application and test code that we will present in this book for the localStorage-based Notes application. There are, however, a few more parts of the Notes application that we simply do not have room to discuss within the confines of this book.

Fortunately, each of the components (as well as their relevant test files) are available as part of the downloadable code samples for this book. The remaining parts of the Notes application that you can find in the samples are as follows:

  • App.Views.NotesFilter (notes/app/js/app/views/notes-filter.js): This view controls the filter input box and the visibility of the note rows in the displayed list of notes. The test file for this view can be found at notes/test/js/spec/views/notes-filter.spec.js.

  • App.Views.Notes (notes/app/js/app/views/notes.js): The App.Views.Notes view contains the App.Views.NotesItem and App.Views...