validate-test-coverage

Analyze code coverage data to enforce branch coverage thresholds and generate reports.

1|Updated Feb 16, 2026
One-click install
npx skills add https://github.com/constellize/marketplace --skill validate-test-coverage-constellize
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: validate-test-coverage
Source: https://github.com/constellize/marketplace/tree/main/plugins/constellize-quality/skills/validate-test-coverage
Command: npx skills add https://github.com/constellize/marketplace --skill validate-test-coverage-constellize

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Ensuring tests genuinely verify behavior can be challenging; this skill automates auditing branch coverage and critical path tests to prevent gaps that could let defects slip through.

Core Features & Use Cases

  • Threshold evaluation of overall branch coverage (≥ 80%), critical logic (100%), error paths (100%), and integration points (100%).
  • Gap analysis that identifies uncovered branches, missing error conditions, and under-tested integration points.
  • Report generation with actionable recommendations and a traceable audit trail for CI pipelines and release gates.
  • Use cases include pre-release quality gates, CI enforcement, and post-change impact analyses.

Quick Start

Run the coverage validation workflow against your test suite to generate a detailed report.

Frequently Asked Questions about validate-test-coverage

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I enforce minimum branch coverage thresholds in a CI pipeline?

Enforce minimum branch coverage thresholds by running an automated validation workflow that analyzes coverage data and fails the CI pipeline if overall branch coverage drops below 80% or if critical logic lacks full test coverage.

What is branch coverage gap analysis and when do I need it for software testing?

Branch coverage gap analysis identifies untested branches, missing error conditions, and under-tested integration points. You need it when verifying that tests genuinely validate critical software behavior and prevent defects from slipping through release gates.

How do I check if my test suite covers critical logic and error paths?

Check critical logic and error path coverage by evaluating your test suite against strict thresholds requiring 100% coverage for critical logic, error paths, and integration points, which flags any uncovered gaps for immediate remediation.

Can I use automated coverage validation for pre-release quality gates?

Yes, you can use automated coverage validation as a pre-release quality gate. It generates a structured report with actionable recommendations and a traceable audit trail to ensure reliable software behavior before deployment.

What are the limitations of enforcing 100% coverage for integration points?

The limitation of enforcing 100% integration point coverage is that it requires comprehensive test suites addressing all external connections, which may increase test maintenance overhead and slow down CI workflows if not carefully targeted.