-
Story
-
Resolution: Done
-
Normal
-
None
-
None
-
None
-
5
-
False
-
None
-
False
-
SECFLOWOTL-121 - Image Updater: Stabilize upstream project
-
-
-
GitOps Tangerine - Sprint 3261
Story (Required)
As a developer using image-updater, I want to make sure all packages and commands are fully tested. We should add tests to verify their expected behavior.
Current unit test coverage in pkg/image: 70.27%
credentials.go: 69
image: 78
kustomize: 0
matchfunc.go: 100
options.go: 84
version.go: 39
Acceptance Criteria (Mandatory)
- analyze the current unit test coverage in pkg/image
- add unit tests so that all testable code paths are covered
- code blocks that are not testable by unit tests under the current testing framework can be exempted
INVEST Checklist
Dependencies identified
Blockers noted and expected delivery timelines set
Design is implementable
Acceptance criteria agreed upon
Story estimated
Legend
Unknown
Verified
Unsatisfied
Done Checklist
- Code is completed, reviewed, documented and checked in
- Unit and integration test automation have been delivered and running cleanly in continuous integration/staging/canary environment
- Continuous Delivery pipeline(s) is able to proceed with new code included
- Customer facing documentation, API docs etc. are produced/updated, reviewed and published
- Acceptance criteria are met
- clones
-
GITOPS-4915 Add unit tests to image-updater cmd/util and cmd/version
- Closed
- is cloned by
-
GITOPS-5619 Improve image-updater unit tests for pkg/registry/client.go
- Closed
- split from
-
GITOPS-4881 Improve image-updater unit test coverage
- Closed