vue-testing-best-practices
Skill1 starsChanged 3 months agoMITView on GitHub
Use for Vue.js testing. Covers Vitest, Vue Test Utils, component testing, mocking, testing patterns, and Playwright for E2E testing.
17 other projects use a version of this, 4 of them edited.
Adopted by
Steady: 0 new projects took it in the last 4 weeks, none the 4 weeks before.thin data
Most recently taken up by
- Contentrain/studioword for word, first seen Nov 8, 2026
- onmax/nuxt-skillsedited, first seen Nov 1, 2026
- vuejs-ai/skillsword for word, first seen Oct 25, 2026
- joker-ye/skillsword for word, first seen Oct 13, 2026
- rockcookies/skillsedited, first seen Oct 13, 2026
- kirklin/skillsword for word, first seen Oct 13, 2026
Used with
Projects with it also use nitro.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
SentrySkillnitro
Build and deploy universal JavaScript servers with Nitro v3. Use when working with nitro.config.ts, defineNitroConfig, defineHandler, defineConfig, server.ts entry, filesystem routing, route rules, useStorage, defineCachedHandler, useDatabase, definePlugin, runtime hooks, Vercel/Cloudflare deployment, or migrating from Nitro v2/nitropack.
Also in 3 projects that use this
Other versions17 projects use a version of this.
Word for word · 13
- moeru-ai/airi★ 51k100% same
- hyf0/vue-skills★ 3.2k100% same
- vuejs-ai/skills★ 3.1k100% same
- Contentrain/studio★ 4100% same
- huangzida/skills★ 2100% same
- ElyzeSolutions/skills★ 1100% same
- hangineer/Hannah-Claude-Code-Toolkit★ 1100% same
- heamlk/Python-Skill★ 1100% same
- joker-ye/skills★ 1100% same
- kirklin/skills★ 1100% same
3 more not listed
Edited · 4
- onmax/nuxt-skills★ 72498% same
- JetBrains/skills★ 38689% same
- konnga/skill-buddy★ 12896% same
- rockcookies/skills★ 1100% same
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository14 other files it gives its agents.
- brainstormSkill
- continual-learningSkill
- create-adaptable-composableSkill
- deep-researchSkill
- draw-mermaid-diagramsSkill
- electronSkill
- interpret-tech-notesSkill
- vue-best-practicesSkill
- vue-debug-guidesSkill
- vue-jsx-best-practicesSkill
- vue-options-api-best-practicesSkill
- vue-pinia-best-practicesSkill
- vue-router-best-practicesSkill
- write-idea-docsSkill
The file
Files
Vue.js testing best practices, patterns, and common gotchas.
Testing
- Setting up test infrastructure for Vue 3 projects → See testing-vitest-recommended-for-vue
- Tests keep breaking when refactoring component internals → See testing-component-blackbox-approach
- Tests fail intermittently with race conditions → See testing-async-await-flushpromises
- Composables using lifecycle hooks or inject fail to test → See testing-composables-helper-wrapper
- Getting "injection Symbol(pinia) not found" errors in tests → See testing-pinia-store-setup
- Components with async setup won't render in tests → See testing-suspense-async-components
- Snapshot tests keep passing despite broken functionality → See testing-no-snapshot-only
- Choosing end-to-end testing framework for Vue apps → See testing-e2e-playwright-recommended
- Tests need to verify computed styles or real DOM events → See testing-browser-vs-node-runners
- Testing components created with defineAsyncComponent fails → See async-component-testing
- Teleported modal content can't be found in wrapper queries → See teleport-testing-complexity
Reference
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

