vitest-runner

Execute Vitest test suites and report file-level results with durations and failure traces.

415|44|Updated Mar 18, 2026
One-click install
npx skills add https://github.com/notque/claude-code-toolkit --skill vitest-runner-notque
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vitest-runner
Source: https://github.com/notque/claude-code-toolkit/tree/main/skills/vitest-runner
Command: npx skills add https://github.com/notque/claude-code-toolkit --skill vitest-runner-notque

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Vitest test suites can be time-consuming to run and hard to interpret when failures occur. This skill streamlines running Vitest, captures structured results, and presents actionable failure details to speed debugging.

Core Features & Use Cases

  • Run Vitest tests on any Vitest-configured project.
  • Parse test results into structured, file-scoped reports with durations and stack traces.
  • Generate clear failure summaries to accelerate debugging and QA feedback.

Quick Start

Run the Vitest tests in non-watch mode by executing npx vitest run --reporter=verbose from your project root.

Frequently Asked Questions about vitest-runner

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run Vitest tests and get structured test results?

To run Vitest tests, execute npx vitest run --reporter=verbose from your project root to collect structured test results, including file-level grouping and durations.

How do I parse Vitest failure traces for faster debugging?

Parsing Vitest failure traces is handled by running the test suite in verbose mode, which generates structured reports with detailed failure summaries and stack traces to accelerate debugging.

Do I need a Vitest configuration to generate file-scoped test reports?

Yes, generating file-scoped test reports requires an existing Vitest configuration in your JavaScript or TypeScript project to properly execute and parse the test suite results.

Can I use this approach to run Vitest in CI pipelines?

Running Vitest in CI pipelines is fully supported by using npx vitest run in non-watch mode, which executes the test suite and outputs structured results ideal for automated environments.

What is the best way to group Vitest test results by file?

Grouping Vitest test results by file is achieved by running the test suite with verbose reporting, which parses the output into structured, file-scoped reports with duration metrics.