Assalam-u-alikum, what's up all?
Today I am coming with a coding
books. Ha ha ha, you know this book name? Yes, it's name "Backbone.js" Testing ''. This book is dived by six
chapters with 168 pages.
Let see the contents of
the book…………
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 Pla
A Backbone.js refresher,
Selecting a Backbone.js application to test, Getting acquainted with the Notes
application, The 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 styles, Trying 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,