Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
J

jasmine

> 测试质量
Open source

Simple JavaScript testing framework for browsers and node.js

15.8K stars0 likes2 views
WebsiteGitHub

About

Simple JavaScript testing framework for browsers and node.js

A JavaScript Testing Framework

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.

Contributing

Please read the contributors' guide.

Installation

There are several different ways to install Jasmine, depending on your environment and how you'd like to use it. See the Getting Started page for details.

Usage

See the documentation site, particularly the Your First Suite tutorial for information on writing specs, and the FAQ.

Supported environments

Jasmine tests itself across popular browsers (Safari, Chrome, Firefox, and Microsoft Edge) as well as Node.

Environment Supported versions
Node 20*, 22, 24, 26
Safari 26*
Chrome Evergreen
Firefox Evergreen, 140
Edge Evergreen

For evergreen browsers, each version of Jasmine is tested against the version of the browser that is available to us at 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 dropped if it becomes impractical, and bugs affecting only these versions may not be treated as release blockers.

To find out what environments work with a particular Jasmine release, see the release notes.

Maintainers

  • Gwendolyn Van Hove
  • Steve Gravrock

Maintainers Emeritus

  • Davis W. Frank
  • Rajan Agaskar
  • Greg Cobb
  • Chris Amavisca
  • Christian Williams
  • Sheel Choksi

Copyright (c) 2008-2019 Pivotal Labs
Copyright (c) 2008-2026 The Jasmine developers
This software is licensed under the MIT License.

Issues· 7 open

View all issuesOpen on GitHub
  • #2075

    jasmine clock: a way to run to the last timer

    feature requestUpdated Sep 12, 2026
  • #1870

    Long String Truncation Omits Failure Cause in Message

    bugUpdated Sep 12, 2026
  • #1883

    Add ability to use jasmine DiffBuilder in custom matchers

    feature requesthelp neededUpdated Feb 14, 2026
  • #2070

    `Intl.DateTimeFormat.format()` ignores mocked clock when called without arguments

    feature requestUpdated Aug 30, 2025
  • #1915

    Slow (large) Uint8Array comparison

    bugUpdated Jun 28, 2023

> Tags

JavaScriptjasminejavascripttddtesting

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedOct 1, 2026
Category测试质量
PricingOpen source

> Related tools

J
Jest
JavaScript 测试框架
P
Playwright
现代端到端测试框架
E
eslint-plugin-test-selectors
Enforces that data-test-id attributes are added to interactive DOM elements (JSX) to help with UI testing. JSX only.