Improve test coverage for $ARGUMENTS.
Phase 1: Coverage Analysis
- Generate coverage report
- Identify untested functions, branches, error paths, edge cases
Phase 2: Test Priority
- Prioritise by: critical business logic, complex functions, error handling, public APIs
Phase 3: Test Generation
- Write tests covering edge cases, error conditions, and property-based tests where appropriate
- Follow existing test patterns and conventions
Phase 4: Test Quality
- Ensure tests are independent, clearly named, test one thing, and run quickly
Phase 5: Integration
- Run full test suite, check coverage improvement, refactor for maintainability
Generate tests that catch bugs, not just increase numbers. Focus on behaviour, not implementation.
Auto-Exit When Standalone
IMPORTANT: If this command is being run as a standalone request, automatically exit after completing all phases successfully.