vuejs-ai avatar

Vue Testing Best Practices

vuejs-ai/skills
1.9k

This skill provides best practices, patterns, and solutions for testing Vue.js applications, particularly with Vue 3. It covers setting up test infrastructure, component testing, end-to-end testing, and common challenges like race conditions and async components. It is designed for developers aiming to enhance their Vue testing strategies and ensure robust, maintainable code.

npx skills add https://github.com/vuejs-ai/skills --skill vue-testing-best-practices

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

Testing

Reference

GitHub Owner

Owner: vuejs-ai

Files

testing-component-blackbox-approach

testing-async-await-flushpromises

testing-composables-helper-wrapper

testing-pinia-store-setup

testing-suspense-async-components

testing-no-snapshot-only

testing-browser-vs-node-runners

async-component-testing

teleport-testing-complexity

SKILL.md


name: vue-testing-best-practices version: 1.0.0 license: MIT author: github.com/vuejs-ai description: Use for Vue.js testing. Covers Vitest, Vue Test Utils, component testing, mocking, testing patterns, and Playwright for E2E testing.

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

Testing

Reference

More skills