vue-testing-best-practices - Vue.js Testing Best Practices and Patterns
Guidance for Vue.js testing covering Vitest, Vue Test Utils, component testing, mocking patterns, and Playwright E2E testing
Tags
Updated: 2026-02-09Capabilities
Typical Inputs
Typical Outputs
What this skill does
- setup test infrastructure
- test Vue components
- mock dependencies
- test async components
- test Pinia stores
- run E2E tests
Inputs
- Vue.js project
- test files
- component code
- Pinia stores
- async components
Outputs
- test results
- test reports
- identified issues
- testing patterns
Requirements
- Vue.js environment
- testing framework access
- Vitest installation
- Vue Test Utils
