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

Chapter 6. Automated Web Testing

Having finished discussing the substantive techniques for testing Backbone.js applications, we will now look into various means of automating our test infrastructure. The ability to programmatically run our test collection enables new and exciting use cases beyond a single developer manually running a test driver page during development. In this chapter we will explore the following automation and development topics:

  • Surveying scenarios and motivations for automating our test infrastructure

  • Investigating different approaches for programmatically running a Backbone.js application test suite

  • Introducing PhantomJS and adapter tools for frontend testing

  • Integrating our existing test infrastructure into the PhantomJS environment

  • Concluding our discussion on the principles and practices of Backbone.js application testing with suggestions and resources for the next steps after finishing this book