cyberneticlibrary

Orchestrate test coverage improvements

tdmcp-test-coverageskillsetup L26
Pantani/tdmcp
What it does

Generate and audit test coverage report for tdmcp project

Best for

When you want visibility into test coverage gaps and a priority list of missing test cases.

Inputs
  • · src/ and tests/ directories
  • · coverage threshold (optional, default 80%)
Outputs
  • · coverage report (HTML + JSON), gap analysis, missing-tests list
Requires
  • · vitest
  • · c8 (coverage)
  • · report generator
Preconditions

vitest installed, test files follow naming convention, src/ has implementation

Failure modes
  • · Coverage below threshold
  • · Untestable code branches identified
  • · Dead code found
Trust signals
  • · Branch coverage reported (not just line)
  • · Dead-code detection
  • · Threshold enforcement