Jest

Open source

Jest is a JavaScript testing framework with snapshots, mocking and code coverage that aims to work with little configuration.

Open-source alternative to

jestjs.io
Jest homepage screenshot
GitHub stars
45k
Last 30 days
+15(+0%)
Last commit
yesterday
Repository age
12 years
Version
v30.5.2
Licence
MIT
Self-hosted
Yes

About Jest

Jest is a JavaScript testing framework that describes its focus as simplicity. It works with projects using Babel, TypeScript, Node, React, Angular, Vue and more, and aims to run without configuration on most JavaScript projects. Tests are run in parallel, each in its own process.

The toolkit covers assertions, mock functions, snapshot tests and code coverage in one place. Snapshots can sit beside the tests or inline, and coverage is switched on with a single flag. Jest is supported through Open Collective and is part of the OpenJS Foundation, and the site shows version 30.5 as current alongside the documentation for many earlier versions.

Key features

  • Works with common JavaScript toolchains
  • Config-free setup on most projects
  • Snapshot tests kept beside tests or inline
  • Tests parallelised in separate processes
  • Code coverage via a flag
  • Mocking through a custom module resolver
  • Previously failed tests run first

Good fit for

  • Unit testing JavaScript code
  • Snapshot testing of large objects
  • Measuring code coverage
Tags
testing
javascript
typescript
unit tests
mocking
code coverage

Jest: questions and answers

What is Jest used for?
Jest is a JavaScript testing framework with snapshots, mocking and code coverage that aims to work with little configuration. It is a good fit for unit testing JavaScript code, snapshot testing of large objects and measuring code coverage.
Is Jest open source?
Yes. Jest is open source under the MIT licence. Its source code is on GitHub at jestjs/jest and is written mainly in TypeScript.
Is Jest free?
Yes. Jest is open source, so the software itself is free to use.
Can I self-host Jest?
Yes. Jest can be self-hosted on your own server or infrastructure.
What is Jest an alternative to?
Jest is an open-source alternative to Katalon, mabl and Parasoft. Other open-source alternatives to Katalon include Playwright, Appium and Robot Framework.
Is Jest actively maintained?
Yes. The most recent commit to Jest was on 20 November 2026, and the latest release is v30.5.2, published on 18 September 2026. The project has 45k stars on GitHub, with 15 added in the last 30 days.

Open-source alternatives to Jest

See all

SaaS alternatives to Jest

See all