3 ms·
You can look at jasmine + sinon http://tinnedfruit.com/2011/03/03/testing-backbone-apps-with-jasmine-sinon.html http://tinnedfruit.com/2011/03/03/testing-backb
by lappet 15y ago
You can look at jasmine + sinon
http://tinnedfruit.com/2011/03/03/testing-backbone-apps-with-jasmine-sinon.html http://tinnedfruit.com/2011/03/03/testing-backbone-apps-with...
- ch0wn 15y agoThere'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/ http://johnbintz.github.com/jasmine-headless-webkit/
- lappet 15y agoAh, 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/ http://code.google.com/p/js-test-driver/