Uploaded image for project: 'OpenShift GitOps'
  1. OpenShift GitOps
  2. GITOPS-4999

Add unit tests to image-updater pkg/argocd

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Normal Normal
    • None
    • None
    • None
    • 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/argocd: 69.73%
      argocd.go: 69.58%
      git.go: 68.07%
      gitcreds.go: 50%
      update.go: 75.67%

      Dependencies identified

      Blockers noted and expected delivery timelines set

      Design is implementable

      Acceptance criteria agreed upon:

      • analyze the current unit test coverage in pkg/argocd
      • 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

       

      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

            isequeir@redhat.com Ishita Sequeira
            cfang@redhat.com Cheng Fang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: