Documentation Home Behavior-Driven JavaScript
Fork me on GitHub
FAST
Low overhead, jasmine-core has no external dependencies.
BATTERIES INCLUDED
Comes out of the box with everything you need to test your code.
NODE AND BROWSER
Run your browser tests and Node.js tests with the same framework.
describe("A suite is just a function", function() {
  var a;

  it("and so is a spec", function() {
    a = true;

    expect(a).toBe(true);
  });
});
    
Sample Code
Jasmine is a behavior-driven development framework for testing JavaScript code. It does not depend on any other JavaScript frameworks. It does not require a DOM. And it has a clean, obvious syntax so that you can easily write tests.