vue-testing-best-practices
Best practices for Vue 3 testing, covering Vitest, Playwright, async components, and common pitfalls.
Install
npx skills add https://github.com/antfu/skills --skill vue-testing-best-practicesStats
| Total installs | 6,375 |
| Weekly installs | 6.3K |
| GitHub stars | 4.4K |
| First seen | Jan 31, 2026 |
| Source | @antfu/skills |
Summary
- Addresses 11 common testing challenges including async handling, composable testing, Pinia store setup, Suspense components, and Teleport queries
- Recommends Vitest for unit and component testing infrastructure, with Playwright as the preferred E2E framework
- Covers black-box component testing patterns to prevent brittle tests during refactoring, async/await patterns to eliminate race conditions, and snapshot test anti-patterns
- Includes guidance on browser vs. Node.js test runners for DOM event verification and computed style testing
Tags
Related skills
| Skill | Installs | vs vue-testing-best-practices |
|---|---|---|
| breakdown-test | 7,520 | +1,145 |
| security-requirement-extraction | 7,361 | +986 |
| improve-codebase-architecture | 5,172 | -1,203 |
| api-security-best-practices | 4,121 | -2,254 |
| dotnet-upgrade | 7,524 | +1,149 |
FAQ
- How many installs does vue-testing-best-practices have?
- vue-testing-best-practices has 6,375 total installs and 6.3K installs this week.
- Where is vue-testing-best-practices hosted?
- vue-testing-best-practices is published by @antfu/skills at https://github.com/antfu/skills.
- How many GitHub stars does vue-testing-best-practices have?
- vue-testing-best-practices has 4.4K GitHub stars.
- When was vue-testing-best-practices first indexed?
- OrangeBot.AI first indexed vue-testing-best-practices on Jan 31, 2026.
- How do I install vue-testing-best-practices?
- Run: npx skills add https://github.com/antfu/skills --skill vue-testing-best-practices