SKILL17.2K installs6.0K

Vue Testing Best Practices

Use for Vue.js testing. Covers Vitest, Vue Test Utils, component testing, mocking, testing patterns, and Playwright for E2E testing.

Type
Skill
Author
antfu
Category
Testing
GitHub stars
6.0K
Installs
17.2K
Last updated
October 30, 2026

Install

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

Use cases


Frequently Asked Questions

Which tools does this skill cover?

Vitest, Vue Test Utils, and Playwright for end-to-end testing.

What testing topics are included?

Component testing, mocking, and common testing patterns for Vue.js.

When should I use it?

When writing or reviewing tests for a Vue project.


About this skill

Covers testing Vue.js applications with Vitest, Vue Test Utils, component testing, mocking, and common testing patterns, plus Playwright for end-to-end tests. Use it when writing or reviewing tests for a Vue project. Aimed at frontend developers who want tests that match how Vue components actually behave.

Summary written with AI assistance from the project's public description.


Categories


More from antfu


Similar Skills