karmada/test/e2e/coverage_docs/resourceinterpreter_test.md

25 lines
5.9 KiB
Markdown

### resource interpreter e2e test coverage analysis
#### Resource interpreter webhook testing
| Test Case | E2E Describe Text | Comments |
|--------------------------------------------------------------------------------------------------------------------|-----------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| Test InterpreterOperation InterpretReplica | InterpretReplica testing | [Resource Interpreter Webhook Configuration](https://karmada.io/docs/next/reference/karmada-api/config-resources/resource-interpreter-webhook-configuration-v1alpha1/) |
| Test InterpreterOperation Retain when construct two values that need to be changed, and only one value is retained | Retain testing | |
| Test InterpreterOperation ReviseReplica | ReviseReplica testing | |
| Test InterpreterOperation AggregateStatus whether the workload status can be correctly collected | AggregateStatus testing | |
| Test InterpreterOperation InterpretStatus | InterpretStatus testing | |
| Test InterpreterOperation InterpretHealth whether the health status can be correctly collected | InterpretHealth testing | |
| Test InterpreterOperation InterpretDependency whether the workload's dependency can be interpreted | InterpretDependency testing | |
| Test InterpreterOperation InterpretDependency whether will update/delete the dependency cr correctly | Dependency cr propagation testing | |
#### Resource interpreter customization testing
| Test Case | E2E Describe Text | Comments |
|-----------------------------------------------------------------------------------------------------------------------------------|----------------------------------|-------------------------------------------------------------------------------------------------------------------------|
| Test InterpreterOperation InterpretReplica with Lua scripts | InterpretReplica testing | [Customizing Resource Interpreter](https://karmada.io/docs/next/userguide/globalview/customizing-resource-interpreter/) |
| Test InterpreterOperation ReviseReplica with Lua scripts | ReviseReplica testing | |
| Test InterpreterOperation Retain when construct by Lua scripts two values that need to be changed, and only one value is retained | Retain testing | |
| Test InterpreterOperation AggregateStatus whether the workload status can be correctly collected | AggregateStatus testing | |
| Test InterpreterOperation InterpretStatus with Lua scripts | InterpretStatus testing | |
| Test InterpreterOperation InterpretHealth whether the health status can be correctly collected | InterpretHealth testing | |
| Test InterpreterOperation InterpretDependency whether will create the dependency cr correctly | DependencyInterpretation testing | |