CtrlK
BlogDocsLog inGet started
Tessl Logo

test-coverage

Analyzes test coverage and generates missing tests to achieve 80%+ coverage

65

Quality

52%

Does it follow best practices?

Impact

Pending

No eval scenarios have been run

SecuritybySnyk

Passed

No known issues

Optimize this skill with Tessl

npx tessl skill review --optimize ./.claude/skills/test-coverage/SKILL.md
SKILL.md
Quality
Evals
Security

Test Coverage

Analyze test coverage and generate missing tests:

  1. Run tests with coverage: npm test --coverage or pnpm test --coverage

  2. Analyze coverage report (coverage/coverage-summary.json)

  3. Identify files below 80% coverage threshold

  4. For each under-covered file:

    • Analyze untested code paths
    • Generate unit tests for functions
    • Generate integration tests for APIs
    • Generate E2E tests for critical flows
  5. Verify new tests pass

  6. Show before/after coverage metrics

  7. Ensure project reaches 80%+ overall coverage

Focus on:

  • Happy path scenarios
  • Error handling
  • Edge cases (null, undefined, empty)
  • Boundary conditions
Repository
sc30gsw/claude-code-customes
Last updated
Created

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.