hyf0 avatar

Vue Testing Best Practices

This covers the practical testing scenarios you'll actually hit when building Vue 3 apps: async components that won't render, Pinia injection errors, flaky tests from race conditions, and the whole Vitest + Vue Test Utils + Playwright stack. The problem-first organization is smart because you can jump straight to "my composable tests are failing" instead of reading theory. It pushes you toward black-box testing over implementation details, which will save you refactoring pain later. The guidance skews opinionated (Vitest over Jest, avoid snapshot-only tests) but that's honestly what you want in a testing guide. If you're setting up testing infrastructure or debugging weird test failures in Vue, this will get you unstuck faster than piecing together Stack Overflow answers.

skills.sh installs
2.1K
GitHub stars
2.7K
last updated
Jul 14, 2026

Install

$ npx -y skills add hyf0/vue-skills --skill vue-testing-best-practices --agent claude-code

Installs into .claude/skills of the current project.

Files

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

Sponsors

Details

Repository
github.com/hyf0/vue-skills
Categories
Frontend Development, Testing & QA
First seen
May 16, 2026

More from hyf0/vue-skills

All 11
1onmax avatarnuxt-better-authonmax/nuxt-skillsUse when implementing auth in Nuxt apps with @onmax/nuxt-better-auth - provides useUserSession composable, server auth helpers, route protection, and Better Aut2.1Kskills.sh installs
2vercel-labs avatarzustandvercel-labs/json-renderZustand adapter for json-render's StateStore interface. Use when integrating json-render with Zustand for state management via @json-render/zustand.1.9Kskills.sh installs
3affaan-m avatarfrontend-designaffaan-m/everything-claude-codefrontend design1.8Kskills.sh installs
4everyinc avatarce-frontend-designeveryinc/compound-engineering-pluginBuild web interfaces with genuine design quality, not AI slop. Use for any frontend work - landing pages, web apps, dashboards, admin panels, components, intera1.8Kskills.sh installs
5github avataroo-component-documentationgithub/awesome-copilotCreate or update standardized object-oriented component documentation using a shared template plus mode-specific guidance for new and existing docs.1.8Kskills.sh installs
6affaan-m avatarangular-developeraffaan-m/everything-claude-codeangular developer1.7Kskills.sh installs