---
layout: home
sidebar: false

title: Vitest
titleTemplate: Next Generation testing framework

hero:
  name: Vitest
  text: Next Generation Testing Framework
  tagline: A Vite-native testing framework. It's fast!
  image:
    src: /logo-shadow.svg
    alt: Vitest
  actions:
    - theme: brand
      text: Get Started
      link: /guide/
    - theme: alt
      text: Features
      link: /guide/features
    - theme: alt
      text: Why Vitest?
      link: /guide/why
    - theme: alt
      text: View on GitHub
      link: https://github.com/vitest-dev/vitest

features:
  - title: Vite Powered
    icon: <span class="i-logos:vitejs"></span>
    details: Reuse Vite's config and plugins - consistent across your app and tests. But it's not required to use Vitest!
  - title: Jest Compatible
    icon: <span class="i-logos:jest"></span>
    details: Expect, snapshot, coverage, and more - migrating from Jest is straightforward.
  - title: Smart & instant watch mode
    icon: ⚡
    details: Only rerun the related changes, just like HMR for tests!
  - title: ESM, TypeScript, JSX
    icon: <span class="i-logos:typescript-icon"></span>
    details: Out-of-box ESM, TypeScript and JSX support powered by esbuild.
---
