SKILL13.8K installs3.2K

Vue Testing Best Practices

Use for Vue.js testing. Covers Vitest, Vue Test Utils, component testing, mocking, testing patterns, and Playwright for E2E testing.

Type
Skill
Author
vuejs-ai
Category
Testing
GitHub stars
3.2K
Installs
13.8K
Last updated
October 23, 2026

Install

npx skills add https://github.com/vuejs-ai/skills --skill vue-testing-best-practices

Use cases


Frequently Asked Questions

Which test tools does this skill cover?

Vitest and Vue Test Utils for component tests, plus Playwright for E2E testing.

Does it cover mocking?

Yes, mocking is part of the testing patterns it documents.

Is it only for unit tests?

No, it also covers component testing and Playwright end-to-end testing.


About this skill

Covers Vue.js testing with Vitest, Vue Test Utils, component testing, mocking, and common testing patterns, plus Playwright for end-to-end coverage. It works as reference material for setting up or improving a Vue test suite. Applicable to both unit-level component tests and browser-driven E2E flows.

Summary written with AI assistance from the project's public description.


Categories


More from vuejs-ai


Similar Skills