JavaScript unit testing and continuous integration 2011
After some further looking into this, we're going to give Jasmine BDD a try for our testing. It's featured in the PeepCode videos on Backbone.js as well as this excellent article series about testing Backbone.js using Jasmine:
- http://tinnedfruit.com/2011/03/03/testing-backbone-apps-with-jasmine-sinon.html
- http://tinnedfruit.com/2011/03/25/testing-backbone-apps-with-jasmine-sinon-2.html
- http://tinnedfruit.com/2011/04/26/testing-backbone-apps-with-jasmine-sinon-3.html
If we go down this route it appears we may have to combine it with JsTestDriver so we can plug the whole mess into Jenkins.
For reference in case someone stumbles on this later on: there is also TestSwarm (used by the JQuery team) and Buster.js (up and coming JSTestDriver replacement)