mcpField
V
vue-testing-best-practices

vue-testing-best-practices

github.com/liangmiqwqTesting & quality139 installsUpdated 1d ago
Repository

About vue-testing-best-practices

A Vue.js skill with testing practices, patterns, and common pitfalls. It guides Vue developers on test setup, component and composable tests, asynchronous behavior, and end-to-end testing.

Key features

  1. 01Vue 3 test setup guidance
  2. 02Component and composable testing patterns
  3. 03Async test and race-condition handling
  4. 04Browser and Node runner selection
  5. 05E2E framework recommendations

Use cases

  1. 01Choosing a test setup for Vue 3
  2. 02Testing composables that use lifecycle hooks
  3. 03Diagnosing asynchronous test flakiness
  4. 04Testing DOM events and computed styles

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/liangmiqwq/skills --skill vue-testing-best-practices

After installing, type/vue-testing-best-practicesin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

reference/
async-component-testing.md
teleport-testing-complexity.md
testing-async-await-flushpromises.md
testing-browser-vs-node-runners.md
testing-component-blackbox-approach.md
testing-composables-helper-wrapper.md
testing-e2e-playwright-recommended.md
testing-no-snapshot-only.md
testing-pinia-store-setup.md
testing-suspense-async-components.md
testing-vitest-recommended-for-vue.md

Details

From the project README

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

Testing

Reference

Comments

Markdown supported