vue-testing

Community

Master Vue 3 testing end-to-end.

AuthorAratKruglik
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Vue 3 component testing is complex and boilerplate heavy; this skill provides guidance and patterns for Vitest, Vue Test Utils, Pinia testing, and end-to-end integrations to ensure robust Vue apps.

Core Features & Use Cases

  • Set up Vitest with jsdom and @vue/test-utils for Vue 3 projects.
  • Choose between mount and shallowMount and test components by props, emits, and slots.
  • Mock Pinia stores and test composables in isolation.
  • Integrate MSW for network mocks and Cypress/Playwright for end-to-end testing.

Quick Start

Configure Vitest in a Vue 3 project with jsdom and @vue/test-utils, then write a basic component test to verify rendering and props.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: vue-testing
Download link: https://github.com/AratKruglik/antigravity-sdlc/archive/main.zip#vue-testing

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 510,000+ vetted skills library on demand.