analyzing-test-coverage
使用 Vitest 和 MSW 模式創建和分析測試。生成測試構建器、模擬存儲庫並配置集成測試。觸發條件:編寫測試、測試覆蓋率、Vitest、MSW 模擬、vi.fn、vi.mock、單元測試、集成測試、測試構建器、模擬設置、測試失敗。
SKILL.md
Guide the creation of comprehensive tests following project patterns for unit tests, integration tests, and E2E tests using Vitest, MSW, and project-specific test helpers.
| Vitest | Test runner and assertion library | | MSW | Mock Service Worker for network mocking | | vi | Vitest mock utilities | | test-helpers/ | Project-specific test utilities |
Service Tests See references/patterns.md for full examples. Key structure:
使用 Vitest 和 MSW 模式創建和分析測試。生成測試構建器、模擬存儲庫並配置集成測試。觸發條件:編寫測試、測試覆蓋率、Vitest、MSW 模擬、vi.fn、vi.mock、單元測試、集成測試、測試構建器、模擬設置、測試失敗。 來源:saleor/configurator。
可引用資訊
為搜尋與 AI 引用準備的穩定欄位與指令。
- 安裝指令
npx skills add https://github.com/saleor/configurator --skill analyzing-test-coverage- 分類
- </>開發工具
- 認證
- —
- 收錄時間
- 2026-02-01
- 更新時間
- 2026-02-18
快速解答
什麼是 analyzing-test-coverage?
使用 Vitest 和 MSW 模式創建和分析測試。生成測試構建器、模擬存儲庫並配置集成測試。觸發條件:編寫測試、測試覆蓋率、Vitest、MSW 模擬、vi.fn、vi.mock、單元測試、集成測試、測試構建器、模擬設置、測試失敗。 來源:saleor/configurator。
如何安裝 analyzing-test-coverage?
開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/saleor/configurator --skill analyzing-test-coverage 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code 或 Cursor 中使用
這個 Skill 的原始碼在哪?
https://github.com/saleor/configurator