Research: vitest

Cached research evidence for vitest (not authority).

Back to catalog page

Vitest unit testing framework (Vite-powered). Generated from vitest-dev/vitest official docs. Guidance on testing patterns, config, running suites in Vite-based projects. Complements vite and antfu opinionated preferences.

Target agents: antigravity, claude-code, codex, crush, cursor, gemini-cli, github-copilot, grok, opencode.

Curated mostly install-now-after-trust-gate / curated-trust-gated (except vue which is inspect-then-install). MIT. High-quality maintainer (Anthony Fu, core contributor to Vite/Vitest/Vue ecosystem). 5.3k stars. Skills generated/synced from official upstream docs where possible (except hand-maintained antfu and vendored slidev). Config provenance verified-install-command for listed. For vue specifically: needs-inspection per catalog (reason not expanded in web evidence; may relate to scope of generated Vue core skill or overlap).

npx skills add antfu/skills --skill vitest -y -g -a antigravity claude-code codex crush cursor gemini-cli github-copilot grok opencode. status=install-now-after-trust-gate; selector=named (or source-spec for some).

antfu (Anthony Fu, github.com/antfu/skills). 5.3k stars. MIT (skills/scripts); vendored retain upstream licenses. Proof-of-concept using git submodules + sync from official docs (vuejs, vitejs, vitest-dev, slidevjs etc.) for reliable/up-to-date context. Primarily Vite/Nuxt ecosystem focus. POC; author welcomes feedback on real-world performance.

Other test skills (e.g. from PaulRBerg or general); pnpm/vite in same collection.

> Web-augmented research; evidence only, not authority. Authoring catalog MDX is authoritative for install metadata.