@vitest-agent/plugin weekly downloads statistics
By vitest-agent · npm · Testing
Vitest plugin for the vitest-agent ecosystem: owns persistence, classification, baselines, trends, and dispatches rendering to a configurable reporter.
@vitest-agent/plugin has 3,275 recorded weekly downloads on npm, an increase of 195% over the past 30 days, ranking #1698 of 3,247 tracked listings.
About @vitest-agent/plugin
@vitest-agent/plugin
Vitest plugin that turns your test suite into a live data source for LLM coding agents. Handles persistence, failure classification, coverage policy enforcement and a configurable reporter chain — the CLI and MCP server ship as dependencies and are wired automatically.
Features
AgentPlugin— drop intovitest.config.ts; auto-detects human, agent and CI executors and adapts console output accordingly- Tag presets —
AgentPlugin.TAGSdefinesunit,int(one minute per test) ande2e(two minutes, retried in CI), ready to spread intotest.tags; your config states its own projects, and a test carries a tag because its file says so - Coverage targets —
coverageTargetsis a plain object of numbers. Coverage below a target is reported as its own verdict and never fails the run. For a hard gate, set Vitest's nativecoverage.thresholdsas literal numbers;COVERAGE_AUTOUPDATEtolerance functions plug into itsautoUpdate - Failure classification — persists per-test errors, computes failure signatures, classifies tests as stable, new-failure, persistent, flaky or recovered across runs
- Custom reporters — pass any
VitestAgentReporterFactoryas thereporteroption; the default wiresDefaultVitestAgentReporterfrom@vitest-agent/reporter onRunEventtap — optional read-only callback receiving everyRunEventin parallel with the renderer, safe to throw from
Install
npm install --save-dev @vitest-agent/plugin
# or
pnpm add -D @vitest-agent/plugin
@vitest-agent/cli and @vitest-agent/mcp ship as regular dependencies of the plugin, so they install with it on every package manager.
Quick start
import { AgentPlugin } from "@vitest-agent/plugin";
import { defineConfig } from "vitest/config";
export default defineConfig({
plugins: [
AgentPlugin({
console: { human: "stream", agent: "agent" },
coverageTargets: { lines: 80, functions: 80, branches: 75, statements: 80 },
}),
],
test: {
tags: [...AgentPlugin.TAGS],
coverage: { provider: "v8" },
},
});
Coverage is an opt-in run: vitest run records the tests alone, and vitest run --coverage (or the run_tests MCP tool with coverage: true) collects and records coverage too. A coverage run reports two verdicts: the test result, and coverage against your targets. A missed target never fails the run.
Tag a test file by putting @module-tag e2e in a comment at its top, or a single test with test("…", { tags: ["e2e"] }, …).
Upgrading from 6.x? AgentPlugin.discover() and DiscoverStrategy are gone. The agent plugin's /vitest-agent:eject skill rewrites a config to explicit projects and authored tags.
Documentation
Full guide, configuration reference and the Claude Code plugin docs live at vitest-agent.dev/guide.
License
Description from the npm listing.
- vitest
- vitest-plugin
- agent
- llm
- ai
- testing
- sqlite
- coverage
- mcp
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (170)Similar npm Testing plugins
All 20 @vitest-agent/plugin alternativesData source
Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.
Listing: https://www.npmjs.com/package/@vitest-agent/plugin. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.