Vitest SDK
Docs for Vitest SDK v0.3.3
Living documentation for TypeScript projects. Write executable behavior and technical specifications with Vitest, then publish the results to a browsable, real-time Viewer.
Three Ways to Document Your Codeโ
BDD Features
Gherkin-style Given / When / Then scenarios for business behavior, acceptance criteria, and stakeholder-readable workflows.
Specifications
Concise rules for business policies, APIs, utilities, and data-driven edge cases โ readable wherever exact examples matter.
Browser Evidence
Run behavior in a real browser when layout, focus, scrolling, accessibility, or screenshots are part of the contract.
Start Hereโ
The Getting Started guide is the single setup path for the Vitest SDK. Choose AI Agent, npm, Yarn, or pnpm there, then create and run your first living specification.