Cover the advantages of test driven development, the reasons for pushing it all the way to the browser level, and then explore the options for testing JavaScript, look at some examples, and then integrate the tests into our existing development workflow.
40. Always more to explore...
Mocking and Stubbing - using the Smoke library
Testing / simulating browser events
Testing / mocking ajax requests and callbacks
42. Blue Ridge
A JavaScript Testing plugin for Rails
Run JavaScript tests via the command-line, with a
head-less browser environment
Uses Rhino - a Java based JavaScript interpreter
And env.js - an implementation of the DOM in pure
JavaScript (thanks John Resig!)
Screw.Unit and Smoke built in! Plus generators.
http://github.com/relevance/blue-ridge
43. Always be testing
Run your JS tests at the same time as your
other tests!
Example...
44. A universe of browsers
each with its own “features” (bugs)
47. Future / Other
Test Swarm: Distributed Continous Integration for JS
http://testswarm.com
JSpec: An alternative BDD framework for JS
http://visionmedia.github.com/jspec