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 .
Downloads
- Standalone for simple, browser page or console (e.g., Node.js) projects
- Jasmine Ruby Gem for Rails, Ruby, or Ruby-friendly development
- Other environments Node.js, Maven, etc.
Support
- API Documentation
- Email list @ Google Groups: jasmine-js@googlegroups.com
- Current Build Status
- Report bugs at Github
- Project Backlog at Pivotal Tracker
- Follow @JasmineBDD on Twitter