5.1 KiB
5.1 KiB
cluster propagation policy e2e test coverage analysis
Basic propagation testing
| Test Case | E2E Describe Text | Comments |
|---|---|---|
| Test the propagation policy for CRD | crd propagation testing | Resource propagating |
| Test the propagation policy for clusterRole | clusterRole propagation testing | |
| Test the propagation policy for clusterRoleBinding | clusterRoleBinding propagation testing |
Advanced propagation testing
| Test Case | E2E Describe Text | Comments |
|---|---|---|
| Test add resourceSelector of the propagation policy for the deployment | add resourceSelectors item(namespace scope) | Update propagationPolicy |
| Test update resourceSelector of the propagation policy for the deployment | update resourceSelectors item(namespace scope) | |
| Test add resourceSelector of the propagation policy for the clusterRole | add resourceSelectors item(cluster scope) | |
| Test update resourceSelector of the propagation policy for the clusterRole | update resourceSelectors item(cluster scope) | |
| Test update propagateDeps of the propagation policy for deployment | update policy propagateDeps(namespace scope) | |
| Test update placement of the propagation policy for deployment | update policy placement(namespace scope) | |
| Test update placement of the propagation policy for clusterRole | update policy placement(cluster scope) |
ExplicitPriority propagation testing
| Test Case | E2E Describe Text | Comments |
|---|---|---|
| Test the high explicit/low priority/implicit priority propagation for deployment | high explicit/low priority/implicit priority ClusterPropagationPolicy propagation testing | Configure PropagationPolicy/ClusterPropagationPolicy priority |
| Test the same explicit priority propagation for deployment | same explicit priority ClusterPropagationPolicy propagation testing | Choose from same-priority PropagationPolicies |
TODO
- May need add the test case when the deployment updates.
- May need add the test case for the same implicit priority propagation.
- May need add the test case for delete the clusterPropagationPolicy.