kennylajara/pytester-cov

Recursively check pytest coverage and fail if file and/or total coverage below threshold.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
pytest-root-dirroot directory to recursively search for .py filesno.
pytest-tests-dirdirectory with pytest tests. if left empty will identify test(s) dir by defaultno""
cov-omit-listlist of directories and/or files to ignoreno""
requirements-filerequirements filepath for projectnorequirements.txt
cov-threshold-singlefail if any single file coverage is less than thresholdno0
cov-threshold-totalfail if the total coverage is less than thresholdno0
namedescription
output-tablepytest-cov markdown output table
cov-threshold-single-failboolean if any single file coverage less than cov-threshold-single
cov-threshold-total-failboolean if total coverage less than cov-threshold-total