Backbone.js Testing

Backbone.js Testing

Product ID: 178216524X Condition: New

Payflex: Pay in 4 interest-free payments of R479.50. Learn more
R 1,918
includes Duties & VAT
Delivery: 10-20 working days
Ships from USA warehouse.
Secure Transaction
VISA Mastercard payflex ozow

Product Description

Backbone.js Testing

If you dread the business of testing JavaScript and Backbone.js web applications, this book is your guardian angel. In easy stages and lots of examples it takes you through the whole testing situation, introducing you to best practice and current techniques.

Overview

  • Create comprehensive test infrastructures
  • Understand and utilize modern frontend testing techniques and libraries
  • Use mocks, spies, and fakes to effortlessly test and observe complex Backbone.js application behavior
  • Automate tests to run from the command line, shell, or practically anywhere

In Detail

Frontend web applications are soaring in popularity and the Backbone.js library is leading this charge with a modular, lightweight approach for organizing JavaScript web applications. At the same time, testing client-side JavaScript and Backbone.js programs remains a difficult and tedious undertaking.

Backbone.js Testing brings sensible practices and current techniques to the challenges of Backbone.js test development. The book introduces fundamental testing concepts, comprehensive test infrastructure design, and practical exercises to easily and systematically test modern JavaScript web applications.

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.

What you will learn from this book

  • Install and set up a test infrastructure for Backbone applications
  • Run, examine, and understand Mocha test reports
  • Tour the Chai assertion library API with detailed examples
  • Write test suites and specs with the Mocha test framework
  • Fake application behavior in tests using Sinon.JS mocks, spies, and fake servers

Approach

This book is packed with step-by-step tutorials and instructions in recipe format to help you create test infrastructures and gradually advance your Backbone.js application development and testing skills.

Who this book is written for

If you are a JavaScript developer looking to create and implement test support for your Backbone.js applications, then this book is ideal for you.

Technical Specifications

Country
USA
Author
Ryan Roemer
Binding
Paperback
EAN
9781782165248
ISBN
178216524X
Label
Packt Publishing
Manufacturer
Packt Publishing
MPN
black & white illustrations
NumberOfItems
1
NumberOfPages
168
PartNumber
black & white illustrations
PublicationDate
2013-07-12
Publisher
Packt Publishing
ReleaseDate
2013-07-12
Studio
Packt Publishing