mcpField
V
vue-testing-best-practices

vue-testing-best-practices

github.com/vuejs-aiテスト・品質3.2k14.0k 回インストール5 日前に更新
リポジトリ

vue-testing-best-practices について

Vue プロジェクトの開発者向けテスト実践スキルです。テスト環境、コンポーネントやコンポーザブルのテスト、非同期処理、ブラウザーと Node のランナーを扱い、よくある失敗も取り上げます。

主な機能

  1. 01Vue テスト基盤の指針
  2. 02コンポーネントのブラックボックステストパターン
  3. 03非同期処理とライフサイクルのテスト指針
  4. 04Pinia と Suspense のテスト設定
  5. 05ブラウザーと Node のランナーに関する考慮点

活用シーン

  1. 01Vue 3 のテスト環境の選択
  2. 02不安定な非同期テストの調査
  3. 03ライフサイクルフックを使うコンポーザブルのテスト
  4. 04Teleport または非同期コンポーネントのテスト

インストール

コマンドをコピーしてターミナルで実行します。

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

インストール後、Claude Code で/vue-testing-best-practicesを入力して読み込まれたか確認します。

同梱ファイル

SKILL.md と一緒にインストールされる参考資料やスクリプト。

reference/
async-component-testing.md
teleport-testing-complexity.md
testing-async-await-flushpromises.md
testing-browser-vs-node-runners.md
testing-component-blackbox-approach.md
testing-composables-helper-wrapper.md
testing-e2e-playwright-recommended.md
testing-no-snapshot-only.md
testing-pinia-store-setup.md
testing-suspense-async-components.md
testing-vitest-recommended-for-vue.md

詳細

Vue.js のテストに関するベストプラクティス、パターン、よくある注意点です。

テスト

リファレンス

コメント