开发与测试
test-writer
Generate comprehensive, edge-case resilient unit tests
00200200 · 已有静态检查记录
安装与使用
运行命令前先阅读来源与依赖说明。复制命令不会自动安装或执行。
npx skills add 00200200/cinch --skill test-writer技能说明
name: test-writer description: Generate comprehensive, edge-case resilient unit tests paths:
- "tests/**"
- "**/test"
Test Writer
Write focused, reproducible unit and integration tests:
- Test boundary conditions, null/empty values, and unexpected error states.
- Use descriptive test names following
test_<function>_<scenario>_<expected>. - Prefer deterministic fixtures over network or time-dependent mocks.
- Keep test assertions minimal and explicit.