Suggest a tool

Vitest

Metrics as of , from the GitHub or GitLab API of each repository. Refreshed monthly.

What Vitest is

Vitest is a testing framework built on Vite. It reuses the Vite config, transformers, resolvers and plugins of the application under test. Assertions use built-in Chai with APIs compatible with Jest expect. Jest-style snapshots, mocking, stubbing and spies are supported. Code coverage comes through v8 or istanbul. JSDOM and happy-dom provide DOM and browser API mocking. Browser Mode runs component tests in the browser, with examples for Vue, React, Svelte, Lit and Marko. Other listed features include watch mode, benchmarking with Tinybench, type-level testing, sharding, and TypeScript and JSX support. The README lists Vite 6.4.0 and Node 22.12.0 as minimum versions.

Written from the project's README, read .

Category
Unit testing and test runners
License
MIT
Language
TypeScript
Changelog
Releases on GitHub

Repository metrics

Repository metrics
Stars17,1431
Forks2,0171
Open issues and PRs4351
Contributors8191
Commits in the last 90 days2811
Last commit2026-09-181
Last releasev5.0.1, 2026-09-151
Fetched

1 Fetched from the GitHub or GitLab API on . Hover a value for its own date.

Status

activeLast commit within 90 days of the fetch date.

Computed from the last commit date and the archive flag on the fetch date. See the status rules.

Alternatives

Listed unit testing and test runners tools, same primary language first, then by GitHub stars. Each line gives one fact from the tool's documentation where it differs from Vitest's, with its source. See also Vitest alternatives.

Comparisons

Questions

Is Vitest open source?

Yes. Vitest is released under MIT, an OSI-approved license, as reported by the GitHub API on 2026-09-22.

Is Vitest maintained?

On 2026-09-22, the last commit to the default branch was on 2026-09-18, so the listed status is active. Rule: Last commit within 90 days of the fetch date.

How many GitHub stars does Vitest have?

17,143 stars on 2026-09-22, from the GitHub API. The number is refreshed at each monthly update.

What language is Vitest written in?

The repository's primary language, as reported by the GitHub API, is TypeScript.

Sources

  1. GitHub REST API: repository, read
  2. GitHub REST API: commits, read
  3. GitHub REST API: latest release, read
  4. GitHub REST API: contributors, read
  5. README, read