javascripttddyuibddqunit

BDD framework for the frontend?


On the server side we have Rspec/Cucumber for BDD development (ruby) vowsjs (node.js)

Is there a BDD frameworks to use on web browsers (not qUnit or YUI test since these are only for TDD)?


Solution

  • Check out jasmine

    describe("Jasmine", function() {
      it("makes testing JavaScript awesome!", function() {
        expect(yourCode).toBeLotsBetter();
      });
    });
    

    http://pivotal.github.com/jasmine/

    https://github.com/pivotal/jasmine

    Should_be ( sic ) very familiar to a ruby person