
testing-strategies
by bejranonda
Autonomous self-learning Agent Plugin for Claude Code ð€ Automatic learning, real-time dashboard, 40+ linters, OWASP security, CodeRabbit PR reviews. Production-ready with 100% local processing, privacy-first. Free open source AI automation tool
SKILL.md
name: testing-strategies description: Provides test design patterns, coverage strategies, and best practices for comprehensive test suite development version: 1.0.0
Overview
This skill provides strategies for test design, test coverage, test organization, and testing best practices across different testing types and frameworks.
Test Coverage Targets
- Critical Code (auth, payment, security): 100%
- Business Logic: 90-100%
- Utilities: 80-90%
- UI Components: 70-80%
- Overall Project: 80%+
Test Types
Unit Tests
- Test individual functions/methods in isolation
- Use mocks for dependencies
- Fast execution (<1ms per test)
- Cover happy path, edge cases, errors
Integration Tests
- Test component interactions
- Use real dependencies where reasonable
- Test API endpoints, database operations
- Moderate execution time
End-to-End Tests
- Test complete user workflows
- Use real system components
- Critical paths only (slower execution)
Test Case Pattern
For each function, create tests for:
- Happy Path: Normal, expected inputs
- Edge Cases: Boundary values, empty inputs
- Error Cases: Invalid inputs, exceptions
- Special Cases: Nulls, zeros, large values
Test Organization
tests/
âââ unit/
â âââ test_module1.py
â âââ test_module2.py
âââ integration/
â âââ test_api.py
âââ e2e/
âââ test_workflows.py
When to Apply
Use when creating test suites, improving coverage, fixing failing tests, or designing test strategies.
ã¹ã³ã¢
ç·åã¹ã³ã¢
ãªããžããªã®åè³ªææšã«åºã¥ãè©äŸ¡
SKILL.mdãã¡ã€ã«ãå«ãŸããŠãã
ã©ã€ã»ã³ã¹ãèšå®ãããŠãã
100æå以äžã®èª¬æããã
GitHub Stars 100以äž
3ã¶æä»¥å ã«æŽæ°
10å以äžãã©ãŒã¯ãããŠãã
ãªãŒãã³Issueã50æªæº
ããã°ã©ãã³ã°èšèªãèšå®ãããŠãã
1ã€ä»¥äžã®ã¿ã°ãèšå®ãããŠãã
ã¬ãã¥ãŒ
ã¬ãã¥ãŒæ©èœã¯è¿æ¥å ¬éäºå®ã§ã

