FindSoftware

Vue Test Utils

Official testing utility library for Vue.js components, for mounting components in tests and interacting with them.

Vue Test Utils is the testing utility library for Vue.js components. It provides methods that mount a component on its own and interact with it from a test, and it works with any test runner. The guide names Vitest as the recommended runner, shows Jest as an option through vue-jest, and lists Cypress, Playwright and WebdriverIO as browser-based runners. Cypress Component Testing and Testing Library both use Vue Test Utils under the hood and expose the same API.

Worth knowing

The library’s current line targets Vue 3. The first line targets Vue 2, and the migration guide covers the change between them.

Identity

Status
Active
Maintainer
vuejs5
First release
20184

Rendering and deploy

Install with
npm7

Releases

Current major version
28
Last release
2026-11-168

Adoption

GitHub stars
1,1642
npm downloads a week
7,048,98710
Contributors
1989

Why these figures do not compare

Sources

  1. 2026-11-17: links
    test-utils.vuejs.org/
  2. 2026-11-17: links, Written in, License, GitHub stars
    api.github.com/repos/vuejs/test-utils
  3. 2026-11-17: links, Built on
    test-utils.vuejs.org/guide/
  4. 2026-11-17: First release
    registry.npmjs.org/@vue/test-utils
  5. 2026-11-17: Maintainer, License model
    github.com/vuejs/test-utils/blob/main/LICENSE
  6. 2026-11-17: Categories
    github.com/vuejs/test-utils/blob/main/README.md
  7. 2026-11-17: Install with
    test-utils.vuejs.org/installation/
  8. 2026-11-17: Current major version, Last release
    api.github.com/repos/vuejs/test-utils/releases/tags/v2.6.0
  9. 2026-11-17: Contributors
    api.github.com/repos/vuejs/test-utils/contributors?per_page=1
  10. 2026-11-17: npm downloads a week
    api.npmjs.org/downloads/range/2026-11-01:2026-11-07/@vue/test-utils

Last reviewed · Listed since Edit on GitHubThis page as markdownas JSON