grey-haven-test-generation
生成全面的测试套件,包括单元测试、集成测试、边缘情况和错误处理。用于为现有代码生成测试、提高覆盖率或创建系统化测试套件。触发词:'生成测试'、'添加测试'、'测试覆盖率'、'为...编写测试'、'创建测试套件'。
📖 中文导读:生成全面的测试套件,包括单元测试、集成测试、边缘情况和错误处理。用于为现有代码生成测试、提高覆盖率或创建系统化测试套件。触发词:'生成测试'、'添加测试'、'测试覆盖率'、'为...编写测试'、'创建测试套件'。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。
name: grey-haven-test-generation description: "Comprehensive test suite generation with unit tests, integration tests, edge cases, and error handling. Use when generating tests for existing code, improving coverage, or creating systematic test suites. Triggers: 'generate tests', 'add tests', 'test coverage', 'write tests for', 'create test suite'."
v2.0.43: Skills to auto-load for test generation subagents
skills:
- grey-haven-code-style
- grey-haven-testing-strategy
v2.0.74: Restrict tools for test generation work
allowed-tools: - Read - Write - MultiEdit - Bash - Grep - Glob - TodoWrite
Test Generation Skill
Comprehensive test suite generation with unit tests, integration tests, edge cases, and error handling.
Description
Automated test generation analyzing code structure and generating thorough test coverage for existing implementations.
What's Included
- Examples: Unit test generation, integration tests, edge cases
- Reference: Test patterns, coverage strategies
- Templates: Test suite templates for different frameworks
Use When
- Need test coverage for existing code
- Improving low coverage areas
- Systematic test creation
Related Agents
test-generator
Skill Version: 1.0