Increase test coverage by targeting untested branches and edge cases
npx claudepluginhub ohare93/claude-setup --plugin jmo-development-tools# Expand Unit Tests Expand existing unit tests adapted to project's testing framework. ## Workflow ### 1. Analyze Coverage Run coverage report to identify: - Untested branches - Edge cases - Low-coverage areas ### 2. Identify Gaps Review code for: - Logical branches - Error paths - Boundary conditions - Null/empty inputs ### 3. Write Tests Use project's framework: - JavaScript/TypeScript: Jest, Vitest, Mocha - Python: pytest, unittest - Go: testing, testify - Rust: built-in test framework ### 4. Target Specific Scenarios - Error handling and exceptions - Boundary values (min/max, ...
Expand existing unit tests adapted to project's testing framework.
Run coverage report to identify:
Review code for:
Use project's framework:
Run coverage again, confirm measurable increase.