Jasmine Javascript BDD Framework http://github.com/pivotal/jasmine http://groups.google.com/group/jasmine-js Specs =================== it('should be a test', function () { var foo = 0; foo++; }); Expectations =================== it('should be a test', function () { var foo = 0; // set up the world foo++; // call your application code expect(foo).toEqual(1); // passes because foo == 1 }); Matchers