GitHub Hot Board

GitHub Hot Board · Repository archive

vitest-dev/vitest

Next generation testing framework powered by Vite. (This description comes from the repository itself.)

Data at October 26vitest-dev

Best

#452

All-time · TypeScript facet

17K

Total stars

2.1K

Total forks

0

Days on boards (30d)

Project statusLicense: MITLast push: October 26Open issues: 367

Collected since 2026-10-25; unknown = not yet harvested

Put your badge on the README · vitest-dev/vitest[![Put your badge on the README](https://git.vaiox.xyz/api/badge/vitest-dev/vitest.svg)](https://git.vaiox.xyz/en/repo/vitest-dev/vitest)
<a href="https://git.vaiox.xyz/en/repo/vitest-dev/vitest"><img src="https://git.vaiox.xyz/api/badge/vitest-dev/vitest.svg" alt="Put your badge on the README" height="20"></a>

README



Vitest logo


Vitest

Next generation testing framework powered by Vite.

current vitest version badge

Get involved!

Documentation | Getting Started | Examples | Why Vitest?

中文文档



Features

Vitest requires Vite >=v6.4.0 and Node >=v22.12.0

import { assert, describe, expect, it } from 'vitest'

describe('suite name', () => {
  it('foo', () => {
    expect(1 + 1).toEqual(2)
    expect(true).to.be.true
  })

  it('bar', () => {
    assert.equal(Math.sqrt(4), 2)
  })

  it('snapshot', () => {
    expect({ foo: 'bar' }).toMatchSnapshot()
  })
})
$ npx vitest

Sponsors

vitest's sponsors

Credits

Thanks to:

Contribution

See Contributing Guide.

License

MIT License © 2021-Present VoidZero Inc. and Vitest contributors

Current rankings

Momentum, past 30 days

No leaderboard records in the last 30 days.

Similar projects · shared topics

← Back to boards