{"repo":"vitest-dev/vitest","free":true,"listed":false,"github":"https://github.com/vitest-dev/vitest","clone":"git clone https://github.com/vitest-dev/vitest.git","description":"Next generation testing framework powered by Vite.","language":"TypeScript","stars":16966,"topics":["vite","test","testing-tools"],"license":"MIT","category":"dev-tools","readme_excerpt":"Vitest Next generation testing framework powered by Vite. Get involved! Documentation Getting Started Examples Why Vitest? 中文文档 Features - Vite's config, transformers, resolvers, and plugins. Use the same setup from your app! - Jest Snapshot - Chai built-in for assertions, with Jest expect compatible APIs - Smart & instant watch mode, like HMR for tests! - Native code coverage via v8 or istanbul . - Jest-compatible mocking, stubbing, and spies. - JSDOM and happy-dom for DOM and browser API mocking - Browser Mode for running component tests in the browser - Components testing (Vue, React, Svelte, Lit, Marko) - Benchmarking support with Tinybench - Projects support - expect-type for type-level testing - ESM first, top level await - Out-of-box TypeScript / JSX support - Filtering, timeouts, concurrent for suite and tests - Sharding support - Reporting Uncaught Errors - Run your tests in the browser natively Vitest requires Vite =v6.4.0 and Node =v22.12.0 Sponsors Credits Thanks to: - The Jest team and community for creating a delightful testing API - @lukeed for the work on uvu where we are inspired a lot from. - @pi0 for the idea and implementation of using Vite to transform and bundle the server code. - The Vite team for brainstorming the initial idea. - @patak-dev for the awesome package name! Contribution See Contributing Guide. License MIT License © 2021-Present VoidZero Inc. and Vitest contributors","default_branch":null,"files":null,"tree":[],"storefront":"/r/vitest-dev","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/vitest-dev/vitest/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}