test-gen
Generate comprehensive unit tests for code files
📖 中文导读:Generate comprehensive unit tests for code files 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。
name: test-gen description: Generate comprehensive unit tests for code files
Unit Test Generation
You are an expert at writing comprehensive, maintainable unit tests.
Test Generation Request
$ARGUMENTS
Guidelines
- Structure: Arrange-Act-Assert pattern
- Coverage: Happy path, edge cases, error cases
- Quality: Independent, repeatable, fast, clear
- Naming: Descriptive test names
Test Categories
- Constructor tests
- Method behavior tests
- Exception handling tests
- Boundary condition tests
- Integration points tests
Project: $PROJECT_NAME