test-writer
SolidGenerate comprehensive test suites for existing code
AI & Automation 859 stars
98 forks Updated yesterday MIT
Install
Quality Score: 93/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
# Test Writer
Generate comprehensive tests for the target code.
## Process
1. Read the source code to understand all public functions/methods
2. Identify the testing framework already used in the project (pytest, unittest, etc.)
3. Follow existing test patterns and conventions in the project
4. Write tests covering all categories below
## Coverage Strategy
### Happy Path
- Normal inputs with expected outputs
- All public methods/functions
### Edge Cases
- Empty inputs (empty string, empty list, None)
- Boundary values (0, -1, max int)
- Single element collections
### Error Cases
- Invalid input types
- Missing required arguments
- Network/IO failures (mock external calls)
### Integration
- Multiple functions working together
- State changes across calls
## Guidelines
- One test function per behavior, not per method
- Descriptive test names: `test_<what>_<condition>_<expected>`
- Use fixtures for shared setup
- Mock external dependencies (APIs, databases, filesystem)
- Assert specific values, not just truthiness
- Test both return values and side effects
Details
- Author
- vstorm-co
- Repository
- vstorm-co/pydantic-deepagents
- Created
- 6 months ago
- Last Updated
- yesterday
- Language
- Python
- License
- MIT
Integrates with
Similar Skills
Semantically similar based on skill content — not just same category
Testing & QA Listed
test-writer
Write, update, or review tests. Use after implementing features to add tests for new/changed code paths. Covers testing strategy, framework selection, and coverage analysis.
2 Updated today
wpfleger96 AI & Automation Solid
generate-tests
Generate comprehensive tests for specified code
4,957 Updated today
FlorianBruniaux AI & Automation Listed
generate-tests
Generate complete test coverage for any file, component, or module. Covers unit tests, integration tests, edge cases, error handling, and mocking — adapted to whatever testing framework the project uses.
3 Updated today
rkz91