Skip to content

Add coverage reporting and a non-regression guardrail #46

Description

@parthdongre

Summary

Make test coverage visible and prevent meaningful coverage regressions without chasing an arbitrary 100% target.

Why

The project already uses pytest-cov, but maintainers and contributors do not currently get a clear coverage signal in PRs or on the repository landing page.

Scope

  • Measure the current baseline coverage for the maintained Python package.
  • Publish coverage from CI using a service or GitHub-native artifact/reporting path.
  • Add a small non-regression tolerance or agreed minimum threshold.
  • Exclude generated/vendor code and clearly justify exclusions.
  • Add a README badge only after the signal is stable.

Acceptance criteria

  • PRs expose a coverage summary.
  • The maintained src/framevitals package is measured consistently.
  • CI fails when coverage drops below the agreed guardrail.
  • Coverage configuration lives in version control.
  • Contributor docs explain how to run the same coverage command locally.

Priority: P0 — testing / trust
Suggested labels: testing, quality

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions