test-suite-create

cpa03 的头像作者 cpa03

Creates a comprehensive test suite for a feature

📖 中文导读:Creates a comprehensive test suite for a feature 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。

name: test-suite-create description: Creates a comprehensive test suite for a feature

Procedure

  1. Identify the target component or service.
  2. List edge cases and happy paths.
  3. Create a test file (e.g., *.test.ts or *.spec.ts).
  4. Implement unit tests using the project's test runner (Jest/Vitest).
  5. Run tests ensuring coverage and pass/fail correctness.