-
Epic
-
Resolution: Unresolved
-
Normal
-
None
-
None
-
None
-
[test-operator] Add functional tests
-
False
-
-
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.