testing
Installation
SKILL.md
Coverage Requirements
| Component Category | Minimum Coverage | Test Type |
|---|---|---|
| Core business logic (models, rules, events) | 100% | Unit |
| Business rule services (stateless calculation/validation) | 90% | Unit |
| Orchestration services (workflow coordination) | 80% | Integration |
| Data access and external adapters (repositories, gateways) | 80% | Integration |
| API entry points (controllers, endpoints, validators) | 80% | Unit + Integration |
| Shared utilities | 80% | Unit |
| Overall project minimum | 80% | - |
Coverage is non-negotiable. When writing production code, write accompanying tests to meet these targets.