- Notifications
You must be signed in to change notification settings - Fork2.2k
Simple JavaScript testing framework for browsers and node.js
License
jasmine/jasmine
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Jasmine is a Behavior Driven Development testing framework for JavaScript. It does not rely on browsers, DOM, or any JavaScript framework. Thus it's suited for websites,Node.js projects, or anywhere that JavaScript can run.
Upgrading from Jasmine 4.x? Check out theupgrade guide.
Please read thecontributors' guide.
There are several different ways to install Jasmine, depending on yourenvironment and how you'd like to use it. See theGetting Started pagefor details.
See thedocumentation site,particularly theYour First Suite tutorialfor information on writing specs, andthe FAQ.
Jasmine tests itself across popular browsers (Safari, Chrome, Firefox, andMicrosoft Edge) as well as Node.
Environment | Supported versions |
---|---|
Node | 18, 20, 22 |
Safari | 15*, 16*, 17* |
Chrome | Evergreen |
Firefox | Evergreen, 102*, 115*, 128 |
Edge | Evergreen |
For evergreen browsers, each version of Jasmine is tested against the version of the browser that is available to usat the time of release. Other browsers, as well as older & newer versions of some supported browsers, are likely to work.However, Jasmine isn't tested against them and they aren't actively supported.
* Supported on a best-effort basis. Support for these versions may be droppedif it becomes impractical, and bugs affecting only these versions may not betreated as release blockers.
To find out what environments work with a particular Jasmine release, see therelease notes.
Copyright (c) 2008-2019 Pivotal Labs
Copyright (c) 2008-2025 The Jasmine developers
This software is licensed under theMIT License.
About
Simple JavaScript testing framework for browsers and node.js