Community程式設計與開發github.com

hyf0/vue-testing-best-practices

用於 Vue.js 測試,涵蓋 Vitest、Vue Test Utils、元件測試、模擬、測試模式,以及 Playwright 端對端測試。

vue-testing-best-practices 是什麼?

此技能旨在協助開發者高效進行 Vue.js 專案的測試工作。它全面涵蓋了 Vue 生態系中的核心測試工具與最佳實踐,包括使用 Vitest 進行單元測試、Vue Test Utils 進行元件測試、模擬(mocking)與各種測試模式。此外,也包含了使用 Playwright 進行端對端(E2E)測試的指南。無論您是在 Claude Code、Cursor 或其他支援技能的 AI 代理程式中使用,此技能都能提供清楚、實用的測試策略與程式碼範例,幫助您建立穩固的測試基礎,提升程式碼品質與可靠性。

相容平台~Claude Code~Codex CLI~Cursor
Part ofReact
npx skills add https://github.com/hyf0/vue-skills/tree/main/skills/vue-testing-best-practices

Installed? Explore more 程式設計與開發 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

vue-testing-best-practices 是做什麼的?

用於 Vue.js 測試,涵蓋 Vitest、Vue Test Utils、元件測試、模擬、測試模式,以及 Playwright 端對端測試。

Individual skills in this repo

This repo contains 7 individual skills — each has its own dedicated page.

相關技能