{"categories":[{"label":"Quality Assurance","url":"https://skillfed.io/packages/category/software-development-quality-assurance/4"}],"enrichment":{"capability":"Validates Python code coverage against configurable minimum thresholds at both global and per-file levels, reading from coverage.json and configuration files.","skillfed_tags":["testing","coverage-enforcement","ci-cd"],"use_cases":["Enforce minimum line coverage across a codebase in CI pipelines to prevent coverage regressions.","Set different per-file thresholds for critical modules while allowing lower coverage in less critical code.","Validate that coverage.json reports meet organizational standards before merging pull requests.","Configure module-specific coverage rules using path prefixes to handle varying quality requirements across a project.","Gate test suite completion on coverage thresholds without requiring external CI/CD platform features."],"what_it_does":"coverage-threshold is a command-line tool that enforces code coverage standards by reading JSON reports from Python's coverage tool and comparing them against configurable minimum thresholds. It supports both global coverage minimums (line, branch, or combined) and per-file thresholds, with the ability to override defaults for specific modules or files via TOML configuration.\n\nThe tool is designed to integrate into test workflows as a gating step\u2014run your tests with coverage, generate a JSON report, then invoke coverage-threshold to verify the results meet your project's standards. Configuration lives in pyproject.toml by default, allowing thresholds to be version-controlled alongside your code. It has a single runtime dependency (toml) and supports Python 3.7 and later.","worth_installing":"Yes, if you need to enforce coverage minimums in your test workflow. The tool is straightforward, has minimal dependencies, and integrates cleanly with the standard coverage tool. The aging maintenance status (446 days since last release) is a minor concern for a stable utility, but the repository remains active and the package supports current Python versions. No known vulnerabilities."},"id":"coverage-threshold","links":{"html":"https://skillfed.io/packages/coverage-threshold","md":"https://skillfed.io/packages/coverage-threshold.md","pypi":"https://pypi.org/project/coverage-threshold/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2025-05-25","license_spdx":"MIT","license_treatment":"permissive","name":"coverage-threshold","python_support":"supports_current","summary":"Tools for coverage threshold limits"},"popularity":{"monthly_downloads":110849,"position":12440,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.6.2"}
