Hacker News new | ask | show | jobs
by lappet 5381 days ago
You can look at jasmine + sinon

http://tinnedfruit.com/2011/03/03/testing-backbone-apps-with...

1 comments

There's also a fantastic tool for running those tests headlessly with jasmine-headless-webkit[0]. The benefit is that you can, if you so desire, test against the DOM as there is a complete browser in the background.

[0] http://johnbintz.github.com/jasmine-headless-webkit/

Ah, interesting.

If headless is not what you want, js-test-driver[1] looks promising. It has adapters for jasmine too.

1. http://code.google.com/p/js-test-driver/