You'll be happy to learn that JsTestDriver is the tool used for most examples in the book. The book also covers stubbing and mocking quite extensively, including XMLHttpRequest and setTimeout/setInterval. Additionally, I wrote a stub/mock library while writing the book which does this automatically: Sinon.JS. It's test framework agnostic and works with JsTestDriver out of the box. This article on stubbing timers may be of special interest to you.
Joined: Oct 16, 2007
Sounds awesome! Do you cover the eclipse plugin at all? I've been running all my tests from the command line - haven't had an opportunity to check out the plugin.
Joined: Oct 03, 2010
The book has instructions for setting it up, but I don't spend a lot of time on the Eclipse plugin. The book is primarily focused on the concepts of testing, not the tools themselves.