๐”– Scriptorium
โœฆ   LIBER   โœฆ

๐Ÿ“

Backbone.js Testing

โœ Scribed by Ryan Roemer


Publisher
Packt Publishing
Year
2013
Tongue
English
Leaves
168
Category
Library

โฌ‡  Acquire This Volume

No coin nor oath required. For personal study only.

โœฆ Synopsis


Plan, architect, and develop tests for Backbone.js applications using modern testing principles and practices

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.


๐Ÿ“œ SIMILAR VOLUMES


Backbone.js Testing
โœ Ryan Roemer ๐Ÿ“‚ Library ๐Ÿ“… 2013 ๐Ÿ› Packt Publishing ๐ŸŒ English

<p>Plan, architect, and develop tests for Backbone.js applications using modern testing principles and practices </p> <p><b>Overview</b></p> <ul> <li>Create comprehensive test infrastructures</li> <li>Understand and utilize modern frontend testing techniques and libraries</li> <li>Use mocks, spies,

Testing Backbone.js
โœ Roemer, Ryan ๐Ÿ“‚ Library ๐Ÿ“… July 2013 ๐Ÿ› Packt Publishing, Limited ๐ŸŒ English

Annotation<span class='showMoreLessContentElement' style='display: none;'><p>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 J

Backbone.js Testing: Plan, architect, an
โœ Ryan Roemer ๐Ÿ“‚ Library ๐Ÿ“… 2013 ๐Ÿ› Packt Publishing ๐ŸŒ English

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 undertakin

Backbone.js patterns and best practices
โœ De, Swarnendu ๐Ÿ“‚ Library ๐Ÿ“… 2014 ๐Ÿ› Packt Publishing ๐ŸŒ English

<b>A onestop guide to best practices and design patterns when building applications using Backtbone.js</b><h2>About This Book</h2><ul> <li>Offers solutions to common Backbone.js related problems that most developers face</li> <li>Shows you how to use custom widgets, plugins, and mixins to make you