Jasmine is a behavior-driven development framework for testing your 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.
describe("Jasmine", function() {
it("makes testing JavaScript awesome!", function() {
expect(yourCode).toBeLotsBetter();
});
});
Jasmine can be run anywhere you can execute JavaScript: a static web page, your continuous integration environment,
or server-side environments like
Node.js
Find out more in the
documentation.
Downloads
- Standalone
- Jasmine Ruby Gem for Rails, Ruby, or Ruby-friendly development
- Other environments Node.js, Maven, etc.