Skip to content
Dev Tools Library

Vitest

Vite-native test runner, Jest-compatible.

FrameworkOpen source

Testing framework that reuses the Vite configuration, with a Jest-compatible API, TypeScript and a fast watch mode.

When to use

In new Vite or TypeScript projects, with fast tests and a Jest-like API.

When to avoid

If the project already uses Jest at scale and migrating brings no clear gain.

Alternatives

They do a similar job. Compare before choosing.

  • Established JavaScript testing framework.

    FrameworkOpen source★ 45.5K

From the same area, with a close purpose.

  • Flexible test framework for Node.js and browsers.

    LibraryOpen source★ 22.9K
  • Tests components the way users use them, not by internal details.

    LibraryOpen source★ 19.7K
  • Python's de facto standard test framework.

    LibraryOpen source★ 14.7K
  • The standard test framework for Java and the JVM.

    LibraryOpen source★ 7.1K