Vitest

Next-generation testing framework powered by Vite

Visit vitest.dev FreeOpen source

Vitest is a fast unit testing framework that reuses your Vite config and transforms, with a Jest-compatible API, native ESM and TypeScript support, browser mode, and a UI.

Key features

  • Jest-compatible API
  • Native ESM and TypeScript
  • Watch mode with instant reruns
  • Browser mode and UI

Similar tools

  • Jest

    Delightful JavaScript testing framework with a focus on simplicity

    FreeOpen sourceCLI, VS Code
  • Faker

    Generate massive amounts of realistic fake data for testing and development

    FreeOpen sourceCLI, Web
  • Cypress

    JavaScript end-to-end and component testing that runs in the browser

    by Cypress.ioFreemiumOpen sourceCLI, macOS, Windows +1
  • Grafana k6

    Developer-centric load testing with tests written in JavaScript

    by Grafana LabsFreemiumOpen sourceCLI, macOS, Windows +1
  • Mock Service Worker

    API mocking at the network level for browser and Node.js

    FreeOpen sourceCLI, Web
  • Playwright

    Reliable end-to-end testing and browser automation for modern web apps

    by MicrosoftFreeOpen sourceCLI, macOS, Windows +2

Built a tool like Vitest? Submit it for review