test-writing
SolidWrite comprehensive tests for code including unit tests, integration tests, and end-to-end tests. Use this to ensure code quality, catch bugs, and validate functionality.
AI & Automation 35 stars
6 forks Updated 6 days ago MIT
Install
Quality Score: 80/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
# Test Writing Skill
## Overview
Create thorough test coverage for software components.
## Workflow
1. **Analyze Code**: Understand what needs testing
2. **Identify Test Cases**:
- Happy path scenarios
- Edge cases
- Error conditions
- Boundary values
3. **Write Tests**: Create test files following project conventions
4. **Verify**: Run tests to ensure they pass
5. **Document**: Add test descriptions
## Test Types
### Unit Tests
- Test individual functions/methods
- Mock dependencies
- Fast execution
- High coverage
### Integration Tests
- Test component interactions
- Real dependencies when possible
- Test data flow
- API contracts
### End-to-End Tests
- Test complete user workflows
- Real environment
- Critical paths
- User scenarios
## Test Quality Standards
- Clear test names describing what is tested
- Arrange-Act-Assert pattern
- One assertion per test (generally)
- Independent tests (no shared state)
- Fast and reliable
## Tools
- `view`: To read code being tested
- `create_file`: To create new test files
- `run_terminal_command`: To execute test suites
- `grep_search`: To find existing tests
## Best Practices
- Test behavior, not implementation
- Cover edge cases thoroughly
- Keep tests maintainable
- Use descriptive test names
- Don't test framework code
- Mock external dependencies
Details
- Author
- KarmaloopAI
- Repository
- KarmaloopAI/Jiva
- Created
- 1 years ago
- Last Updated
- 6 days ago
- Language
- TypeScript
- License
- MIT
Integrates with
Similar Skills
Semantically similar based on skill content — not just same category
AI & Automation Solid
write-tests
Use when a module or function lacks tests and you need to generate meaningful unit or integration tests that cover the real behaviour.
1 Updated 4 days ago
NSBen AI & Automation Featured
testing
Testing workflow and quality standards for writing and running tests. Use when: (1) Writing new tests, (2) Adding a new feature that needs tests, (3) Modifying logic that has existing tests, (4) Before claiming a task is complete.
30,920 Updated today
iOfficeAI AI & Automation Solid
test-engineer
Test engineer ensuring quality through comprehensive testing strategies
51 Updated yesterday
Vinix24