AgentSkillsCN

Test

测试

SKILL.md

Run Tests

Run project test suite.

Commands

CommandDescription
npm run typecheckType checking (run first)
npm run test:unitUnit tests (fast)
npm run test:integrationIntegration tests
npm run test:allAll tests
npm run test:coverageWith coverage

Steps

  1. Run npm run typecheck first
  2. Run appropriate test command
  3. If failures, analyze and suggest fixes
  4. Report: passed/failed/skipped counts

On Failure

  • List each failing test with error
  • Identify root cause
  • Suggest specific fixes
  • Do NOT auto-fix without approval