• Complain

Ryan Roemer - Backbone.js Testing

Here you can read online Ryan Roemer - Backbone.js Testing full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. year: 2013, publisher: Packt Publishing, genre: Computer. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:

Romance novel Science fiction Adventure Detective Science History Home and family Prose Art Politics Computer Non-fiction Religion Business Children Humor

Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.

Ryan Roemer Backbone.js Testing
  • Book:
    Backbone.js Testing
  • Author:
  • Publisher:
    Packt Publishing
  • Genre:
  • Year:
    2013
  • Rating:
    5 / 5
  • Favourites:
    Add to favourites
  • Your mark:
    • 100
    • 1
    • 2
    • 3
    • 4
    • 5

Backbone.js Testing: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "Backbone.js Testing" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

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.

Ryan Roemer: author's other books


Who wrote Backbone.js Testing? Find out the surname, the name of the author of the book and a list of all author's works by series.

Backbone.js Testing — read online for free the complete book (whole text) full work

Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the book "Backbone.js Testing" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.

Light

Font size:

Reset

Interval:

Bookmark:

Make
Backbone.js Testing

Backbone.js Testing

Copyright 2013 Packt Publishing

All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.

Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book.

Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.

First published: July 2013

Production Reference: 1050713

Published by Packt Publishing Ltd.

Livery Place

35 Livery Street

Birmingham B3 2PB, UK.

ISBN 978-1-78216-524-8

www.packtpub.com

Cover Image by Robin Chin Roemer (<>)

Credits

Author

Ryan Roemer

Reviewers

Casey Foster

Jim Newbery

Acquisition Editor

Martin Bell

Commissioning Editor

Shreerang Deshpande

Technical Editor

Sumedh Patil

Copy Editors

Insiya Morbiwala

Alfida Paiva

Laxmi Subramanian

Project Coordinator

Sneha Modi

Proofreaders

Maria Gould

Paul Hindle

Indexer

Tejal Soni

Production Coordinator

Arvindkumar Gupta

Cover Work

Arvindkumar Gupta

About the Author

Ryan Roemer is the Director of Engineering at Curiosity Media, a language learning startup, where he manages technical operations and leads the development team. He develops (and tests) full-stack JavaScript applications and backend Node.js services. He also works with data mining, cloud architectures, and problems related to large scale distributed systems.

He was previously an engineer in the cloud computing storage group of Microsoft's Azure platform and most recently developed the search and cloud architecture for IP Street, a patent data mining startup. Besides engineering, he is a registered patent attorney (inactive), although it has been a long time since he has put on his lawyer hat.

You can find him online at http://loose-bits.com and on Twitter at https://twitter.com/ryan_roemer.

This book simply would not have been possible without the open source community, which has contributed to all the pieces of technology we have discussed in this book. In particular, the Backbone.js community's commitment to documentation, tutorials, and guides allows the rest of the Web to keep up with the amazingly rapid evolution of the Backbone.js library and ecosystem.

I would like to thank the JavaScript developer communities in the District of Columbia and Seattle, WA, for their incidental feedback, chats, and ideas throughout the development of the book. Additionally, I owe a debt of gratitude to the book's technical reviewers, as they put up with some quite rough early drafts of chapters, provided immensely useful feedback, and helped shepherd the book to its final form.

Finally, my most heartfelt thanks and love to my wife, Robin. Your support and help through the late nights, weekends, and a hectic cross-country move has been truly indispensible.

About the Reviewers

Casey Foster is a full-stack web developer born and raised in Southern California and now residing in Texas. He has been drawn towards web development since his early teens and has found a passion for JavaScript in the browser and on the server side with Node.js. He is a huge fan of open source projects and tries to open source as many of his projects as possible. He is a core contributor to the popular Backbone.js library and an active supporter of many other open source repositories. In early 2013, he co-authored his first book on Backbone.js, titled Developing a Backbone.js Edge . He can be found on GitHub and Twitter as caseywebdev.

I would like to thank my wife Lacey and my puppy Gunner for their love and support in everything I do.

Jim Newbery is a web developer based in Edinburgh, Scotland, with a 17-year history of mostly building terrible websites and web applications. Once excited by being able to make text blink on a screen, he now spends his time working for the fantasy sports website FanDuel.com, tinkering with the usual plethora of half-finished side projects, and teaching his daughter how to make animated gifs of kittens.

I'd like to thank all those developers that give up hours and hours of personal time to contribute to open source software projects that make my working life easier and more enjoyable. Thanks, in particular, go to Jeremy Ashkenas, TJ Holowaychuk, and Christian Johansen for creating the libraries and tools used in this book.

www.PacktPub.com
Support files, eBooks, discount offers and more

You might want to visit www.PacktPub.com for support files and downloads related to your book.

Did you know that Packt offers eBook versions of every book published, with PDF and ePub files available? You can upgrade to the eBook version at > for more details.

At www.PacktPub.com, you can also read a collection of free technical articles, sign up for a range of free newsletters and receive exclusive discounts and offers on Packt books and eBooks.

httpPacktLibPacktPubcom Do you need instant solutions to your IT - photo 1

http://PacktLib.PacktPub.com

Do you need instant solutions to your IT questions? PacktLib is Packt's online digital book library. Here, you can access, read and search across Packt's entire library of books.

Why Subscribe?
  • Fully searchable across every book published by Packt
  • Copy and paste, print and bookmark content
  • On demand and accessible via web browser
Free Access for Packt account holders

If you have an account with Packt at www.PacktPub.com, you can use this to access PacktLib today and view nine entirely free books. Simply use your login credentials for immediate access.

Preface

JavaScript web applications are soaring in popularity and driving exciting new application possibilities across the Internet. One of the most ubiquitous frameworks leading this charge is Backbone.js, which provides a modern and rational approach for organizing JavaScript applications.

At the same time, testing client-side JavaScript and Backbone.js applications remains a difficult and tedious undertaking. Even experienced developers can stumble across issues related to browser idiosyncrasies, complex DOM interactions, and asynchronous application behavior when writing frontend tests.

Backbone.js Testing brings sensible practices and current techniques to the challenges of Backbone.js test development. You will be introduced to fundamental testing concepts, a contemporary frontend test infrastructure, and practical exercises on all facets of Backbone.js application development. This book covers topics ranging from basic test suite creation to using test doubles to tackle even the most difficult/least testable Backbone.js application components.

Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «Backbone.js Testing»

Look at similar books to Backbone.js Testing. We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.


Reviews about «Backbone.js Testing»

Discussion, reviews of the book Backbone.js Testing and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.