Vladimir, Anthony Fu, Ari Perkkiö, Hiroshi Ogawa, Patak, Joaquín Sánchez and Vitest contributors · vitest.dev

ByVoidZero

Next Generation Testing Framework

A Vite-native testing framework. It's fast!

Vitest terminal

Vitest was created to make testing just work for Vite apps. By building on top of Vite, Vitest natively understands your Vite config and is able to reuse the same resolve and transform pipelines.

You can also use Vitest even if you are not using Vite. It is Jest-compatible and works for backend code too.

Learn more

Fast. Lightweight. Integrated.

Vite Powered

Reuse Vite's config and plugins - consistent across your app and tests. But it's not required to use Vitest!

Jest Compatible

Expect, snapshot, coverage, and more - migrating from Jest is straightforward.

jest compatible

Smart & instant watch mode

Only rerun the related changes, just like HMR for tests!

typed api

ESM, TypeScript, JSX

Out-of-box ESM, TypeScript and JSX support powered by Oxc.

See full features list

Free & open source

Vitest is free and open source, made possible by wonderful sponsors.

Become a Sponsor

Brought to you by VoidZero

Special

Platinum Sponsors

Gold

Read the original on vitest.dev ↗