Uploaded image for project: 'Red Hat OpenStack Services on OpenShift'
  1. Red Hat OpenStack Services on OpenShift
  2. OSPRH-26592

Add envTest and kuttl tests to test-operator

XMLWordPrintable

    • Icon: Epic Epic
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • None
    • test-operator
    • None
    • [test-operator] Add functional tests
    • False
    • Hide

      None

      Show
      None
    • False
    • Not Selected
    • ?
    • ?
    • To Do
    • ?
    • rhos-product-ciops
    • ?
    • 60% To Do, 20% In Progress, 20% Done

      The goal of this epic is to maintain good testing practices and add functional tests to test-operator. Specifically the envTest and kuttl tests, similar to other operators. These tests help ensure that core functionalities are covered and prevent regressions.

      It will be the best to take inspiration from the code in other operators, example Manila [1], Cinder [2], Horizon [3]More links to gather knowledge about the subject include envTest README [4].

      [1] https://github.com/openstack-k8s-operators/manila-operator/tree/main/test/functional
      [2] https://github.com/openstack-k8s-operators/cinder-operator/tree/main/test/functional
      [3] https://github.com/openstack-k8s-operators/horizon-operator/tree/main/test/functional
      [4] https://github.com/openstack-k8s-operators/dev-docs/blob/main/envtest.md

      DoD:

      • envTest and kuttl tests are added to verify the basic functionalities of test-operator
      • All related tickets added their part of the tests.

              rh-ee-kstrenko Katarina Strenkova
              rh-ee-kstrenko Katarina Strenkova
              rhos-product-ciops
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: