cov

command
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 19, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Coverage rendering + threshold gating for WaveHouse.

Subcommands:

cov render <suite>    Render covdata under tmp/coverage/<suite>/data
                      to text + HTML + a per-package breakdown, then
                      gate against the suite's threshold.
cov merge             Merge whichever Go suites have covdata into
                      tmp/coverage/total/, render, gate against
                      threshold.total.
cov ts-merge          Merge SDK vitest coverage (ts-unit + ts-e2e)
                      via nyc into tmp/coverage/ts-total/, render
                      HTML + summary, gate against suites.ts-total.
cov merge-all         Run merge + ts-merge; skip either side with no
                      data, but fail if BOTH are empty (i.e. `make cov`
                      ran before any test target).
cov report            Single consolidated summary: every suite + the
                      merged Go-total and ts-total, each with its gate
                      status + a clickable HTML report path, then one
                      aggregate pass/fail. Backs `make cov`.
cov threshold <suite> Print the configured threshold for <suite>
                      (or "total"). Used by the SDK pipeline to
                      pass into vitest's --coverage.thresholds.
cov badge             Emit the shields.io endpoint JSON for the merged
                      Go-total coverage (the number threshold.total
                      gates) to stdout — CI publishes it to the
                      `badges` branch for the README coverage badge.

All thresholds come from .testcoverage.yml — `threshold.total` is the canonical merged-coverage gate (the same field go-test-coverage reads natively); per-suite gates live under `suites:`. There is no env-var override path: edit the YAML.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL