LogoClawIndex
CasesSkillsAbout
LogoClawIndex

vue-testing-best-practices - Vue.js testing best practices and patterns

Provides best practices, patterns, and troubleshooting guidance for Vue.js testing using Vitest, Vue Test Utils, and Playwright.

Tags

Updated: 2026-09-11

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • Set up Vue test infrastructure
  • Apply blackbox component testing
  • Handle async test race conditions
  • Test composables with lifecycle hooks
  • Configure Pinia in component tests
  • Test async and teleported components
  • Run E2E tests with Playwright

Inputs

  • Vue.js components
  • Vue composables
  • Pinia store code
  • Test setup files

Outputs

  • Test configurations
  • Test failure diagnostics
  • Testing pattern recommendations

Requirements

  • Vue 3
  • Vitest
  • Vue Test Utils
  • Playwright

Source

  • Spec: SKILL.md

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.
vue
testing
vitest
vue-test-utils
playwright
Set up Vue test infrastructure
Apply blackbox component testing
Handle async test race conditions
Test composables with lifecycle hooks
Vue.js components
Vue composables
Pinia store code
Test configurations
Test failure diagnostics
Testing pattern recommendations