Coverart for item
The Resource Backbone.js testing : plan, architect, and develop tests for Backbone.js applications using modern testing principles and practices, Ryan Roemer

Backbone.js testing : plan, architect, and develop tests for Backbone.js applications using modern testing principles and practices, Ryan Roemer

Label
Backbone.js testing : plan, architect, and develop tests for Backbone.js applications using modern testing principles and practices
Title
Backbone.js testing
Title remainder
plan, architect, and develop tests for Backbone.js applications using modern testing principles and practices
Statement of responsibility
Ryan Roemer
Creator
Subject
Language
eng
Summary
This book is packed with the step by step tutorial and instructions in recipe format helping you setup test infrastructure and gradually advance your skills to plan, develop, and test your backbone applications. If you are a JavaScript developer looking for recipes to create and implement test support for your backbone application, then this book is ideal for you
Member of
Cataloging source
E7B
http://library.link/vocab/creatorName
Roemer, Ryan
Dewey number
005.2
Illustrations
illustrations
Index
index present
LC call number
QA76.73.J39
LC item number
R64 2013eb
Literary form
non fiction
Nature of contents
dictionaries
Series statement
Community experience distilled
http://library.link/vocab/subjectName
  • JavaScript (Computer program language)
  • Web site development
  • Application software
  • COMPUTERS
  • Application software
  • JavaScript (Computer program language)
  • Web site development
Label
Backbone.js testing : plan, architect, and develop tests for Backbone.js applications using modern testing principles and practices, Ryan Roemer
Instantiates
Publication
Note
Includes index
Carrier category
online resource
Carrier category code
  • cr
Carrier MARC source
rdacarrier
Color
multicolored
Content category
text
Content type code
  • txt
Content type MARC source
rdacontent
Contents
  • Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1:Setting Up a Test Infrastructure; Designing an application and test repository structure; Getting the test libraries; Mocha; Chai; Sinon. JS; Setting up and writing our first tests; The test driver page; Adding some tests; Running and assessing test results; The first test report; Test report actions; Test timing and slow tests; Test failures; Summary; Chapter 2:Creating a Backbone.js Application Test Plan; A Backbone.js refresher
  • Selecting a Backbone.js application to testGetting acquainted with the Notes application; Anatomy of the Notes application; Test paradigms and methods; Testing concepts, approaches, and planning; Testing individual Backbone.js components; Models; Collections; Templates; Views; Routers; Utilities; Testing application interactions and events; Partial integrations; Events; Dipping our toes in the application testing waters; Namespace; Note model; Running the application tests; Summary; Chapter 3:Test Assertions, Specs, and Suites; Choosing a test style that fits; Mocha test interfaces
  • Chai assertion stylesTrying out some different styles; Mocha and Chai BDD interfaces; Mocha TDD and Chai assert styles; Deciding on the project style; A tour of the Chai assertion library; Chaining objects and assertions; Basic value assertions; Comparing values; Object and array validation; Errors; Getting the application and tests ready to run; The Mocha test runner; Reconfiguring the application for testing; Organizing topics and specifications into test suites; Starting up and winding down tests; Writing Mocha test specifications; Asynchronous behavior in tests
  • Some Backbone.js collection testsTesting and supporting Backbone.js views; The Notes application single note view; Creating HTML fixtures for view tests; Walking through the view test suite; Aggregating and running the application tests; Test development tips, tricks, and hints; Isolating and excluding tests; Writing testable application code; Summary; Chapter 4:Test Spies; Fake it 'til you make it; Getting to know Sinon. JS; Spying on functions with Sinon. JS; Anonymous spies; Spy assertions; Function spies; Object method spies; Playing in the sandbox with Sinon. JS test helpers
  • Delving into the Sinon. JS spy APIThe spy API; The spy call API; Spicing up Chai with the Sinon. JS plugin; Introducing and installing Chai plugins; The Sinon. JS plugin; Testing Backbone.js components with spies; The Notes menu bar view; The menu bar view; Testing and spying on the menu bar view; The Notes single note view; The single note view; Testing the single note view; Hooking up and running the view tests; Summary; Chapter 5:Test Stubs and Mocks; Replacing method behaviors with Sinon. JS stubs; Getting started with stubs; The stub API; Faking and verifying behavior with Sinon. JS mocks
Control code
857078903
Dimensions
unknown
Extent
1 online resource (iv, 154 pages)
Form of item
online
Isbn
9781782165255
Media category
computer
Media MARC source
rdamedia
Media type code
  • c
Other physical details
illustrations (some color).
http://library.link/vocab/ext/overdrive/overdriveId
9781782165255
Specific material designation
remote
System control number
(OCoLC)857078903
Label
Backbone.js testing : plan, architect, and develop tests for Backbone.js applications using modern testing principles and practices, Ryan Roemer
Publication
Note
Includes index
Carrier category
online resource
Carrier category code
  • cr
Carrier MARC source
rdacarrier
Color
multicolored
Content category
text
Content type code
  • txt
Content type MARC source
rdacontent
Contents
  • Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1:Setting Up a Test Infrastructure; Designing an application and test repository structure; Getting the test libraries; Mocha; Chai; Sinon. JS; Setting up and writing our first tests; The test driver page; Adding some tests; Running and assessing test results; The first test report; Test report actions; Test timing and slow tests; Test failures; Summary; Chapter 2:Creating a Backbone.js Application Test Plan; A Backbone.js refresher
  • Selecting a Backbone.js application to testGetting acquainted with the Notes application; Anatomy of the Notes application; Test paradigms and methods; Testing concepts, approaches, and planning; Testing individual Backbone.js components; Models; Collections; Templates; Views; Routers; Utilities; Testing application interactions and events; Partial integrations; Events; Dipping our toes in the application testing waters; Namespace; Note model; Running the application tests; Summary; Chapter 3:Test Assertions, Specs, and Suites; Choosing a test style that fits; Mocha test interfaces
  • Chai assertion stylesTrying out some different styles; Mocha and Chai BDD interfaces; Mocha TDD and Chai assert styles; Deciding on the project style; A tour of the Chai assertion library; Chaining objects and assertions; Basic value assertions; Comparing values; Object and array validation; Errors; Getting the application and tests ready to run; The Mocha test runner; Reconfiguring the application for testing; Organizing topics and specifications into test suites; Starting up and winding down tests; Writing Mocha test specifications; Asynchronous behavior in tests
  • Some Backbone.js collection testsTesting and supporting Backbone.js views; The Notes application single note view; Creating HTML fixtures for view tests; Walking through the view test suite; Aggregating and running the application tests; Test development tips, tricks, and hints; Isolating and excluding tests; Writing testable application code; Summary; Chapter 4:Test Spies; Fake it 'til you make it; Getting to know Sinon. JS; Spying on functions with Sinon. JS; Anonymous spies; Spy assertions; Function spies; Object method spies; Playing in the sandbox with Sinon. JS test helpers
  • Delving into the Sinon. JS spy APIThe spy API; The spy call API; Spicing up Chai with the Sinon. JS plugin; Introducing and installing Chai plugins; The Sinon. JS plugin; Testing Backbone.js components with spies; The Notes menu bar view; The menu bar view; Testing and spying on the menu bar view; The Notes single note view; The single note view; Testing the single note view; Hooking up and running the view tests; Summary; Chapter 5:Test Stubs and Mocks; Replacing method behaviors with Sinon. JS stubs; Getting started with stubs; The stub API; Faking and verifying behavior with Sinon. JS mocks
Control code
857078903
Dimensions
unknown
Extent
1 online resource (iv, 154 pages)
Form of item
online
Isbn
9781782165255
Media category
computer
Media MARC source
rdamedia
Media type code
  • c
Other physical details
illustrations (some color).
http://library.link/vocab/ext/overdrive/overdriveId
9781782165255
Specific material designation
remote
System control number
(OCoLC)857078903

Library Locations

    • Ellis LibraryBorrow it
      1020 Lowry Street, Columbia, MO, 65201, US
      38.944491 -92.326012
    • Engineering Library & Technology CommonsBorrow it
      W2001 Lafferre Hall, Columbia, MO, 65211, US
      38.946102 -92.330125
Processing Feedback ...