{"meta":{"name":"FindSoftware","page":"https://findsoftware.frbit.cloud/vue-test-utils/","markdown":"https://findsoftware.frbit.cloud/vue-test-utils.md","license":"https://creativecommons.org/licenses/by/4.0/","attribution":"FindSoftware, CC BY 4.0","note":"Attributes are recorded, never scored. An absent field means unknown, never zero and never bad."},"record":{"id":"vue-test-utils","name":"Vue Test Utils","urls":{"home":"https://test-utils.vuejs.org","repository":"https://github.com/vuejs/test-utils","docs":"https://test-utils.vuejs.org/guide/"},"category":["testing"],"description":"Official testing utility library for Vue.js components, for mounting components in tests and interacting with them.","maintainer":"vuejs","firstRelease":2018,"hosting":null,"language":"javascript","runtimeMin":null,"basedOn":["vue"],"contentStore":null,"databases":null,"adminUi":null,"headlessApi":null,"templating":null,"i18n":null,"renderingModes":null,"installMethod":"npm","licenseModel":"open-source","license":"MIT","currentMajor":"2","latestReleaseDate":"2026-11-16T00:00:00.000Z","githubStargazers":1164,"contributors":198,"packagistDownloads":null,"npmWeeklyDownloads":7048987,"checkedAt":"2026-11-17T00:00:00.000Z","addedAt":"2026-11-17T00:00:00.000Z","sources":[{"field":"urls","url":"https://test-utils.vuejs.org/","checkedAt":"2026-11-17T00:00:00.000Z"},{"field":"urls","url":"https://api.github.com/repos/vuejs/test-utils","checkedAt":"2026-11-17T00:00:00.000Z"},{"field":"urls","url":"https://test-utils.vuejs.org/guide/","checkedAt":"2026-11-17T00:00:00.000Z"},{"field":"basedOn","url":"https://test-utils.vuejs.org/guide/","checkedAt":"2026-11-17T00:00:00.000Z"},{"field":"firstRelease","url":"https://registry.npmjs.org/@vue/test-utils","checkedAt":"2026-11-17T00:00:00.000Z"},{"field":"maintainer","url":"https://github.com/vuejs/test-utils/blob/main/LICENSE","checkedAt":"2026-11-17T00:00:00.000Z"},{"field":"language","url":"https://api.github.com/repos/vuejs/test-utils","checkedAt":"2026-11-17T00:00:00.000Z"},{"field":"category","url":"https://github.com/vuejs/test-utils/blob/main/README.md","checkedAt":"2026-11-17T00:00:00.000Z"},{"field":"installMethod","url":"https://test-utils.vuejs.org/installation/","checkedAt":"2026-11-17T00:00:00.000Z"},{"field":"license","url":"https://api.github.com/repos/vuejs/test-utils","checkedAt":"2026-11-17T00:00:00.000Z"},{"field":"licenseModel","url":"https://github.com/vuejs/test-utils/blob/main/LICENSE","checkedAt":"2026-11-17T00:00:00.000Z"},{"field":"currentMajor","url":"https://api.github.com/repos/vuejs/test-utils/releases/tags/v2.6.0","checkedAt":"2026-11-17T00:00:00.000Z"},{"field":"latestReleaseDate","url":"https://api.github.com/repos/vuejs/test-utils/releases/tags/v2.6.0","checkedAt":"2026-11-17T00:00:00.000Z"},{"field":"githubStargazers","url":"https://api.github.com/repos/vuejs/test-utils","checkedAt":"2026-11-17T00:00:00.000Z"},{"field":"contributors","url":"https://api.github.com/repos/vuejs/test-utils/contributors?per_page=1","checkedAt":"2026-11-17T00:00:00.000Z"},{"field":"npmWeeklyDownloads","url":"https://api.npmjs.org/downloads/range/2026-11-01:2026-11-07/@vue/test-utils","checkedAt":"2026-11-17T00:00:00.000Z"}],"status":"active","ai":"authored"},"prose":"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](https://test-utils.vuejs.org/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.\n\n## Worth knowing\n\nThe library's current line targets Vue 3. The first line targets Vue 2, and the migration guide covers the change between them."}