Final Q & A

In notebook:
FrontEndMasters BackboneJS
Created at:
2016-06-11
Updated:
2016-06-11
Tags:
JavaScript jQuery libraries testing
Philosophies, resources for client testing strategies?
Doesn’t really know any. He personally learned testing from jQuery authors. So most people who do a lot of testing are library authors. 

He mentions the book Test driven JavaScript Development. 
Addy Osmani talks about testing in his Backbone book.

Marc mentions that the hardest stuff to test is the DOM. So try to separate as much as possible from the DOM. 

Just test that you’re calling jQuery correctly. jQuery is very well tested so that you can rely on it. Just spy on jQuery calls.