Uploaded image for project: 'OpenShift Virtualization'
  1. OpenShift Virtualization
  2. CNV-42657

refactor tests/operator/operator.go

XMLWordPrintable

    • Icon: Epic Epic
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • None
    • readable-operator-go-test
    • 77
    • To Do
    • CNV-38613 - 2024 Code Quality
    • CNV-386132024 Code Quality

      Goal

      Make tests/operator/* readable and reliable

      User Stories

      • As a KubeVirt developer, I would like to understand what each test does in a glance (< 30 lines, which may call to properly-named functions).
      • I want the test lane to pass reliably (> 95%). As a PR owner, if my code causes the virt-operator lane fails, I should notice.
      • I want the operator lane to pass in less than one hour. Slow/unreliable uninteresting tests can and should be removed.
      • I would like the code to be broken to sensible smaller files ( < 500 lines each) which can be reviewed and modified independently.

      Non-Requirements

      • List of things not included in this epic, to alleviate any doubt raised during the grooming process.

      Notes

      • Any additional details or decisions made/needed

            Unassigned Unassigned
            dkenigsb@redhat.com Dan Kenigsberg
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: