Skip to content
Projekte

Über uns

Curated list of awesome Vitest tools and resources

Lernen und Bildung

So werden diese Zahlen gemessen

Gemessener Sternzuwachs

in 24h
0
in 7 days
+1
in 15 days
+1
in 1 month
+4

Nettoänderungen in überlappenden Zeiträumen, keine Tagessummen. Fehlende Messwerte bleiben leer. Sterne zeigen Interesse, nicht Qualität.

README.md

Original

Awesome Vitest

pronounced “veetest” (/ˈviːtɛst/)

Vitest is a next-generation testing framework
with native support for ES Modules,
TypeScript, and JSX.

 

Official Resources

Guides

Tools

Community

 

Packages and Tools

Linting

Mocking

Reporters

Snapshot Testing

Visual Regression Testing

  • @argos-ci/vitest — Review changes to browser screenshots and value snapshots in Argos.
  • @brachkow/vitest-image-snapshot — Compare PNG snapshots with async matching for concurrent tests.
  • @chromatic-com/vitest — Capture DOM snapshots from Browser Mode tests for visual regression testing and review in Chromatic.
  • @storycap-testrun/browser — Capture Storybook screenshots with stability checks and per-story controls.
  • @uiverify/vitest — Capture DOM snapshots from component tests for hosted visual regression testing.
  • v-snap — Snapshot canvas and HTML views in Chromium with controlled fonts and software rendering.
  • vitest-image-snapshot — Compare ImageData and PNG buffers against baselines, with HTML diff reports.
  • vitest-pdf-snapshot — Compare rendered PDFs against PNG snapshots.
  • vitest-screenshot — Compare canvases and pixel buffers against image baselines in Node.js.

Accessibility Testing

Coverage

  • davelosert/vitest-coverage-report-action — Show coverage changes and link to uncovered lines in pull request comments and workflow summaries.
  • nextcov — Collect Playwright E2E coverage for Next.js and Vite apps and merge it with Vitest coverage.
  • supercov — Measure per-test coverage, including MC/DC.
  • vitest-monocart-coverage — Generate Monocart reports from V8 coverage data, with byte coverage statistics.

Benchmarking

Environments

Language Support

Framework and Library Support

Database Testing

  • neon-testing — Run tests against isolated Neon Postgres branches.
  • vitest-groq — Test GROQ queries and execution plans.
  • vitest-mongo — Start MongoDB test instances and expose their connection URI.
  • vitest-prisma — Roll back Prisma database changes after each test, with savepoints for nested transactions.

Developer Tool Testing

Test Utilities

Test Documentation

Test Design

  • @amiceli/vitest-cucumber — Run Gherkin scenarios and detect missing steps.
  • @botpress/vai — Evaluate output with LLM assertions, ratings, and structured extraction.
  • @contract-case/contract-case-vitest — Define and verify consumer-driven contracts for HTTP interactions and function calls.
  • @epure/vitest — Run Gherkin scenarios and structured YAML fixtures as tests.
  • @fast-check/vitest — Find edge cases with property-based testing and simplify failing inputs.
  • @harnessed-ts/dom — Test components through reusable harnesses with Testing Library.
  • eutaxy — Test Cloudflare Workers and AWS Lambda with deterministic simulation, fault injection, and invariant checks.
  • feat2test — Generate TypeScript tests from Gherkin and keep editable step adapters in sync.
  • storyspec — Link Markdown specifications to typed scenario tests and enforce traceability and architecture rules.
  • vitest-evals — Evaluate AI applications with LLM judges, tool call assertions, and score reports.
  • vitiate — Find bugs with fuzz testing and replay failing inputs as regression tests.

Test Execution

  • @djankies/vitest-mcp — Run tests through MCP with structured results and coverage analysis.
  • @knapsack-pro/vitest — Dynamically distribute tests across CI nodes using Knapsack Pro.
  • @liveapp/dvitest — Queue test runs across projects and optionally run them on remote machines.
  • @nx/vitest — Run tests in Nx workspaces, with inferred tasks and CI splitting by test file.
  • @vitejs/devtools-vitest — Run and watch tests from Vite DevTools.
  • neotest-vitest — Run and debug tests in Neovim through Neotest.
  • testlanes — Balance test shards in GitHub Actions using automatically collected timing history.
  • vitest-pool-fastforks — Reduce test startup overhead with reused child processes and a fresh Node.js environment for each file.

Test Selection

  • @goodfoot/vitest-cache — Cache passing test results by input content, with reuse across Git worktrees.
  • bivium — Select affected tests before installing project dependencies.
  • tracegate-ci — Validate test selection against full runs before skipping tests in local CI, then spot-check the skips.
  • vitest-affected — Select affected tests using a persistent runtime dependency graph.
  • vitest-git-trigger-patterns — Map changed files to specific tests during --changed runs.

Test Analysis

  • @mizchi/mutator — Find gaps in tests through mutation testing, with Git diff filtering and cached results.
  • @stryker-mutator/vitest-runner — Measure test effectiveness with Stryker mutation testing.
  • oxmutate — Find test gaps with mutation testing and formal model oracles.
  • saidvsdid — Detect deleted, skipped, or weakened tests and test configuration changes in pull requests.
  • targeted-mutation — Find missing test inputs and assertions with mutations based on observed values.
  • test-inventory — Extract test metadata from source, including tags, skip conditions, and skip reasons.
  • vitest-dedup — Find duplicate and near-duplicate tests through static analysis.
  • vitest-flaky — Find flaky tests locally by varying timer delays and test order, with seeds for replay.

Agent Skills

  • antfu/skills — Collection of agent skills by Anthony Fu, including Vitest.
 

 
 
 

Awesome Vitest is curated by Dom Porada.
Licensed under CC0-1.0.

 

Ähnliche Projekte entdecken

Wird geladen…