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.
Summary
Add test coverage reporting for the CLI:
go test -cover/-coverprofilefor unit and/or acceptance tests, with optional CI upload (e.g. Codecov, Coveralls) or localgo tool cover -htmlreport. Improves visibility into coverage.Context
From the Hookdeck Agentic DX Master Plan / Phase 5a CLI plan: Phase H — Test coverage reporting.
Proposed approach
go test -cover ./pkg/...and-coverprofile=coverage.out.go tool cover -html=coverage.outfor quick visibility.References
phase_5a_cli_updates_bd801679.plan.md→ Phase H (coverage reporting).Label
Consider for backlog / when prioritising quality visibility.