minder
minder copied to clipboard
Improve test coverage in parts of Minder with low coverage.
Certain parts of Minder have low unit test coverage. In at least one recent incident, the incident could have been prevented if there had been some unit test coverage of the codepath in question (there was none).
Based on some recent pain points, and looking at stats from Coveralls, some of the files we should focus attention our attention on are:
- internal/providers/github/common.go
- internal/controlplane/handlers_profile.go
- internal/controlplane/handlers_evalstatus.go
- internal/verifier/sigstore/container/container.go
- internal/util/helpers.go
- internal/controlplane/handlers_projects.go
- internal/controlplane/handlers_user.go
- internal/controlplane/handlers_oauth.go
- ...tions/alert/security_advisory/security_advisory.go
- internal/controlplane/handlers_artifacts.go