eBooks-it.org Logo
eBooks-IT.org Inner Image

Backbone.js Testing

Backbone.js Testing Image

Book Details:

Publisher:Packt Publishing
Series: Packt
Author:Ryan Roemer
Edition:1
ISBN-10:178216524X
ISBN-13:9781782165248
Pages:168
Published:Jul 12 2013
Posted:Nov 19 2014
Language:English
Book format:PDF
Book size:1.63 MB

Book Description:

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.

Download Link:

Related Books:

Beginning Backbone.js

Beginning Backbone.js Image
Beginning Backbone.jsis your step-by-step guide to learning and using the Backbone.js library in your web projects. Backbone.js is one of the most popular JavaScript libraries among web developers, used to create modular, single-page web apps. This book takes you from downloading Backbone.js and its dependencies all the way to using more advanced libraries to structure your application architecture, and everything in between.With a real-world, practical approach, you will learn how you can integrate Backbone.js into the center of your JavaScript stack, and create scalable applications. James Sugrue shows you how to implement all aspects of templating, work efficiently with RequireJS, and fully understand Grunt and all its plug-ins. Armed with this kn...

Backbone.js Patterns and Best Practices

Backbone.js Patterns and Best Practices Image
A one-stop guide to best practices and design patterns when building applications using Backbone.js Overview Offers solutions to common Backbone.js related problems that most developers face Shows you how to use custom widgets, plugins, and mixins to make your code reusable Describes patterns and best practices for large scale JavaScript application architecture and unit testing applications with QUnit and SinonJS frameworks In Detail Backbone.js is a super light framework that allows you to structure your JavaScript codes in anMV* fashion. This framework is an excellent tool when it comes to creating an organized and modular code base for web apps of any size or complexity. Although lightweight, Backbone.js results in lots of boilerplate. Learning...

Full Stack Web Development with Backbone.js

Full Stack Web Development with Backbone.js Image
Learn how to build a full-stack application with Backbone.js by taking advantage of JavaScript modules, workflow automation, and Backbone's interface building blocks. With this practical guide, author Patrick Mulder takes experienced backend developers and JavaScript programmers through the steps necessary to create a fully functional single-page application.Backbone's rich ecosystem of plugins makes applications easier to design and scale, but knowing which tools to use for your project can be tricky. How do you combine views and the data layer with Backbone, or serve and deploy JavaScript assets? You'll not only learn the answers to these and many other questions; you'll also discover Backbone's vast number of use cases.Get started quickly by using...



2007 - 2021 © eBooks-IT.org