### 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](https://karmada.io/docs/next/userguide/scheduling/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](https://karmada.io/docs/next/userguide/scheduling/resource-propagating#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](https://karmada.io/docs/next/userguide/scheduling/resource-propagating#configure-propagationpolicyclusterpropagationpolicy-priority) | | Test the same explicit priority propagation for deployment | same explicit priority ClusterPropagationPolicy propagation testing | [Choose from same-priority PropagationPolicies](https://karmada.io/docs/next/userguide/scheduling/resource-propagating#choose-from-same-priority-propagationpolicies) | #### Delete clusterPropagation testing | Test Case | E2E Describe Text | Comments | |-----------------------------------------------------|-------------------------------------------------------------------------------------------------|------------| | Test delete clusterpropagationpolicy for deployment | delete ClusterPropagationPolicy and check whether labels are deleted correctly(namespace scope) | | | Test delete clusterpropagationpolicy for CRD | delete ClusterPropagationPolicy and check whether labels are deleted correctly(cluster scope) | | #### TODO 1. May need add the test case when the [deployment updates](https://karmada.io/docs/next/userguide/scheduling/resource-propagating#update-deployment). 2. May need add the test case for the **same implicit priority** propagation. 3. May need add the test case for **delete** the clusterPropagationPolicy.