chelout/go-coverage

go-coverage checks test coverage against configurable thresholds and generates reports.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
commandSubcommand to run: check, report, diff, breakdown.nocheck
configPath to the configuration file (.testcoverage.yml).no""
profilePath to the coverage profile file. Overrides value from configuration.no""
source-dirRelative path to source files.no""
debugPrints additional debugging output.nofalse
threshold-fileMinimum coverage percentage required for individual files [0-100]. Overrides config. Only used with check command.no-1
threshold-packageMinimum coverage percentage required for each package [0-100]. Overrides config. Only used with check command.no-1
threshold-totalMinimum overall project coverage percentage [0-100]. Overrides config. Only used with check command.no-1
breakdown-file-nameSave coverage breakdown to this file. Used by check/report (--breakdown-file-name) and breakdown (--output) subcommands.no""
diff-base-breakdown-file-nameBase branch breakdown file for coverage diff. Used by check/report (--diff-base-breakdown-file-name) and diff (--base) subcommands.no""
output-formatOutput format: text, markdown, json, csv. Used by check, report, diff.no""
output-file-nameSave report to this file. Used by check, report, diff.no""
namedescription
total-coverageInteger value [0-100], overall project test coverage percentage. Available for check and diff commands.
reportJSON-encoded string containing the coverage report. Available for check and diff commands.