由 Vite 驱动的测试框架,直接复用项目的解析与转换配置,不需要额外的编译步骤;内置快照、mock、覆盖率与浏览器模式,API 与 Jest 接近,迁移成本低,也能用 workspace 跑多包测试。和前端工程的构建链共用一套配置是它最大的便利。 ⭐ GitHub Stars: 17k+ 🔗 指南: https://vitest.dev/guide/
A Vite-powered test framework that reuses the project parsing and transform pipeline, so no extra build step is needed. Snapshots, mocking, coverage and browser mode ship in the box, the API stays close enough to Jest to make migration cheap, and workspaces cover multi-package repos. Sharing one config with the front-end build chain is the main draw. ⭐ GitHub Stars: 17k+ 🔗 Guide: https://vitest.dev/guide/
Vitest belongs to the Developer Tools category on hedirbase. Tagged with: testing,vite,typescript,javascript,open-source.
A Vite-powered test framework that reuses the project parsing and transform pipeline, so no extra build step is needed. Snapshots, mocking, coverage and browser mode ship in the box, the API stays clo