Jasmine
jasmine.github.io
- Free plan
- Windows
- macOS
- Linux
- Web
What Jasmine is
Jasmine is a free, open-source framework for testing JavaScript code that runs in browsers and Node.js. Its specs use JavaScript’s describe/it structure and expect matchers. The jasmine-core package has no external dependencies, and Jasmine does not rely on other JavaScript frameworks.
For Node.js, install the package locally with npm and invoke it using npx jasmine. The standalone distribution runs specs in a browser without other tools or a web server. Jasmine supports ES modules, and its Node setup can also load CommonJS modules. For browser testing, jasmine-browser-runner can run specs interactively or in CI with headless Chrome or Sauce Labs; it can also connect to a user’s Selenium Grid.
Runners can be configured, with custom reporters and matchers and randomized spec order. Jasmine supports JavaScript and TypeScript, as well as parallel execution and built-in mocks. Browser and Node support follows a rolling window, so older platforms may receive best-effort support or be dropped in minor releases. The unmaintained karma-jasmine adapter depends on jasmine-core 4.x, which may limit access to newer features.
Who it suits
Jasmine suits JavaScript or TypeScript developers who need to test code in Node.js or browsers. Its standalone distribution and configurable runners accommodate different testing setups.
Good to know, and what to watch
- No external dependencies in jasmine-core
- Runs specs in browsers and Node.js
- Supports ES modules and CommonJS
- Custom reporters, matchers, and runners
- Supports parallel execution and built-in mocks
- Older platforms may lose support in minor releases
- Unmaintained karma-jasmine adapter may miss newer features
Plans
Every plan and priceJasmine
Open source
Getting started
- Open the Jasmine website
- Install the Node package locally with npm
- Run Node specs with npx jasmine
- Use the standalone distribution for browser specs without a web server
- Use jasmine-browser-runner for interactive or CI browser runs
- Connect the browser runner to Sauce Labs or a Selenium Grid when needed
Limits to check
The free Jasmine plan is listed as free with no stated usage limits. Browser and Node compatibility follows a rolling support window, and the unmaintained karma-jasmine adapter is tied to jasmine-core 4.x, which can block newer features.
The verdict
Jasmine offers browser and Node.js testing with configurable runners and matchers. Check its rolling platform support and the karma-jasmine adapter limitation if those affect your setup.
Questions people ask
Is Jasmine free?
Yes. Jasmine is open source, and the Jasmine plan is free.
Which platforms does Jasmine support?
Jasmine supports Linux, macOS, web, and Windows.
Can Jasmine run tests in browsers and Node.js?
Yes. Jasmine targets browser and Node.js code, with a standalone browser distribution, jasmine-browser-runner, and a Node package invoked with npx jasmine.
Does Jasmine support TypeScript?
Yes. Supported languages include JavaScript and TypeScript.
Can Jasmine use remote browser grids?
The browser runner can use Sauce Labs or a user’s own Selenium Grid as a remote browser grid.
What the maker publishes
- Browser runner
- The jasmine-browser-runner package can run specs interactively in browsers or in CI using headless Chrome or Sauce Labs. source
- Compatibility limit
- The FAQ says the unmaintained karma-jasmine adapter depends on jasmine-core 4.x, so newer Jasmine features may not work through it. source
- Customization
- Jasmine supports configurable runners, custom reporters, custom matchers, and randomized spec order. source
- Dependencies
- The jasmine-core package has no external dependencies, and Jasmine does not depend on other JavaScript frameworks. source
- Integrations
- The browser runner can use Sauce Labs or a user's own Selenium Grid as a remote browser grid. source
- License
- The Jasmine project repository states that the software is licensed under the MIT License. source
- Module support
- Jasmine supports ES modules, and its Node setup can also load CommonJS modules. source
- Node installation
- The Node package can be installed locally with npm and invoked using npx jasmine. source
- Purpose
- Jasmine is a framework for testing JavaScript code that runs in browsers and Node.js. source
- Standalone option
- The standalone distribution runs specs in a web browser without other tools, and it does not require a web server. source
- Support
- The project directs users to its GitHub repository to report issues and contribute. source
- Testing style
- Jasmine specs use JavaScript with a describe/it structure and expect matchers. source
- Version support
- Browser and Node support follows a rolling window; older platforms may be supported on a best-effort basis or dropped in minor releases. source
Checked against the maker's pages on 9 Oct 2026.