vuejs/vue-test-utils
Component Test Utils for Vue 2 observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- 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: n/a
- age_days: 3384
- days_rel: n/a
- days_push: 950
- n_releases_24m: 0
Adoption not part of the score
3545 stars · 654 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Official unit testing utility library for Vue.js 2 components, providing mount/shallowMount wrappers and DOM interaction helpers. It is the Vue 2-targeting v1 line, with Vue 3 served by Vue Test Utils v2.
Use cases
- test vue 2 components with jest
- mount vue components in unit tests
- simulate clicks and dom events in vue tests
- test vuex and vue router integration
- server-side render vue components for testing
When to choose
- you are writing unit tests for Vue 2 components
- you want official, well-documented component testing utilities
When to avoid
- you are on Vue 3 (use @vue/test-utils v2)
- you need end-to-end browser testing rather than component unit tests
Facets
library · maturity maintenance
testing e2e-testing frontend web-development testing vue vue2 unit-testing jest component-testing nodejs javascript
5 sources
- readme: https://github.com/vuejs/vue-test-utils · fetched 2026-08-28 · dcf2a37720c1
- homepage: https://vue-test-utils.vuejs.org · fetched 2026-08-29 · d224059c75fb
- site_page: https://v1.test-utils.vuejs.org/installation · fetched 2026-08-29 · 46966183c67c
- site_page: https://v1.test-utils.vuejs.org/guides/getting-started · fetched 2026-08-29 · 1b6b8a0f8610
- registry_npm: https://registry.npmjs.org/vue-test-utils · fetched 2026-08-29 · 8be04ff3cf55
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| vuejs/vue-test-utils | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="vuejs/vue-test-utils")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem