mcpField
V
vue-testing-best-practices

vue-testing-best-practices

github.com/antfuテスト・品質6.0k17.2k 回インストール5 日前に更新
リポジトリ

vue-testing-best-practices について

Vue.js アプリのテスト設定とよくある問題を扱う実践ガイドです。コンポーネント、コンポーザブル、エンドツーエンドテストに取り組む Vue 開発者向けです。

主な機能

  1. 01Vue 3 のテスト環境設定
  2. 02コンポーネントのブラックボックステスト
  3. 03非同期処理とライフサイクルのテストパターン
  4. 04Pinia と Suspense の設定
  5. 05ブラウザーと Node のランナー選択

活用シーン

  1. 01Vue のテスト基盤の選定
  2. 02インジェクションを使うコンポーザブルのテスト
  3. 03不安定な非同期テストの調査

インストール

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

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

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

同梱ファイル

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

LICENSE.md
SYNC.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 のテストに関するベストプラクティス、パターン、よくある注意点です。

テスト

リファレンス

コメント