Skip to content
vuejs-ai avatar

Vue Testing Best Practices

Curated Vue testing guidance covering Vitest, Vue Test Utils, Pinia, async components, and Playwright E2E setup.

CCM score
42 of 100
skills.sh installs
2.1K
GitHub stars
3.4K
last updated
Jul 14, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers Vue 3 test setup with Vitest, Vue Test Utils, component black-box testing, mocking, and async flushing patterns
  • Maps common failures to fixes, including missing Pinia injections, Suspense and async components, Teleport content, and composable testing
  • Warns against snapshot-only assertions and favors choosing between Node and browser runners for computed styles and DOM events
  • Designed for Vue developers debugging flaky or failing component tests and selecting an end-to-end framework

Install

$ npx -y skills add vuejs-ai/skills --skill vue-testing-best-practices -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Vue.js testing best practices, patterns, and common gotchas.

Details

Repository
github.com/vuejs-ai/skills
Categories
Testing & QA, Frontend & UI Code
First seen
May 16, 2026

More from vuejs-ai/skills

All 8

Similar to Vue Testing Best Practices

More Testing & QA