Generate unit tests, integration tests, and test plans. TRIGGERS - Use when user wants tests, test cases, testing strategy, or test coverage.
Scanned 6/12/2026
Install via CLI
openskills install Winbda/claude-skills-collection---
name: test-writer
description: |
Generate unit tests, integration tests, and test plans.
TRIGGERS - Use when user wants tests, test cases, testing strategy, or test coverage.
---
# Test Writer
## Approach
1. Analyze the code to understand functionality
2. Identify test scenarios (happy path, edge cases, errors)
3. Write tests using appropriate framework
4. Include assertions for expected behavior
5. Add edge case coverage
## Output includes:
- Test file with complete test suite
- Test descriptions explaining what each test validates
- Setup/teardown helpers
- Mocking strategy for dependencies
- Coverage recommendations
No comments yet. Be the first to comment!
Go测试模式包括表格驱动测试、子测试、基准测试、模糊测试和测试覆盖率。遵循TDD方法论,采用地道的Go实践。