Skip to content

Consider: Test coverage reporting (Phase 5a H) #227

@leggetter

Description

@leggetter

Summary

Add test coverage reporting for the CLI: go test -cover / -coverprofile for unit and/or acceptance tests, with optional CI upload (e.g. Codecov, Coveralls) or local go tool cover -html report. Improves visibility into coverage.

Context

From the Hookdeck Agentic DX Master Plan / Phase 5a CLI plan: Phase H — Test coverage reporting.

Proposed approach

  • Unit tests: go test -cover ./pkg/... and -coverprofile=coverage.out.
  • Acceptance tests (optional): Include if feasible; may need separate profile or run.
  • CI: Optional upload to Codecov/Coveralls or similar; or artifact the profile for inspection.
  • Local: go tool cover -html=coverage.out for quick visibility.

References

  • Phase 5a plan: phase_5a_cli_updates_bd801679.plan.md → Phase H (coverage reporting).

Label

Consider for backlog / when prioritising quality visibility.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions