vuejs/test-utils
Vue Test Utils for Vue 3 observed · 2026-09-03
Health v2 · maintenance only
100/100
- Activity 100
- Release rhythm 99
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 14
- age_days: 2386
- days_rel: 6
- days_push: 0
- n_releases_24m: 6
Adoption not part of the score
1158 stars · 289 forks observed · 2026-09-03
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
The official component testing utility library for Vue 3, providing APIs to mount, interact with, and assert against Vue components in test environments. It is published as the @vue/test-utils npm package.
Use cases
- unit test vue 3 components
- mount vue components in tests
- test vue component props and events
- write component tests with vitest for vue
- migrate from vue test utils v1 to v2
When to choose
- you are writing unit or component tests for Vue 3 applications
- you need to mount, query, and interact with Vue components in a test runner like Vitest or Jest
When to avoid
- you are testing Vue 2 applications (use Vue Test Utils v1 instead)
- you need full end-to-end browser testing rather than component-level tests (consider Cypress or Playwright)
Facets
library · maturity stable
testing e2e-testing mocking frontend web-development testing developer-tools vue vue3 component-testing unit-testing typescript official nodejs javascript web
2 sources
- readme: https://github.com/vuejs/test-utils · fetched 2026-09-03 · f1b16d76a263
- homepage: https://test-utils.vuejs.org · fetched 2026-08-29 · ed80c2d6c8fb
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| vuejs/test-utils | main | 100 |
For agents
markdown · JSON · MCP: product_card(name="vuejs/test-utils")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem