Skip to content

[Umbrella] Enhance third-party resource interpreter tests with output verification #6952

@XiShanYongYe-Chang

Description

@XiShanYongYe-Chang

/kind cleanup

We wish to enhance the testing framework for third-party resource interpreter customizations by adding support for verifying Lua script execution results against expected outputs.

In addition, the current test coverage for Lua script content is insufficient. Each operation of each resource has only one test case, which is not enough to fully cover the logic. Therefore, we also need to supplement the test cases for individual operations of individual resources.

Below, let's list all the subtasks that need to be completed for the current work item.

  • enhance resource interpreter test framework @zhzhuang-zju enhance resource interpreter test framework #6938
  • Complete test cases to cover the Lua script logic
    • apps.kruise.io
      • v1alpha1
        • AdvancedCronJob
        • BroadcastJob
        • CloneSet
        • DaemonSet
        • SidecarSet
        • UnitedDeployment
      • v1beta1 - StatefulSet
    • argoproj.io - v1alpha1 - Workflow
    • flink.apache.org - v1beta1 - FlinkDeployment
    • helm.toolkit.fluxcd.io - v2beta1 - HelmRelease
    • kubeflow.org - v1 - TFJob
    • kustomize.toolkit.fluxcd.io - v1 - Kustomization
    • kyverno.io - v1
      • ClusterPolicy
      • Policy
    • source.toolkit.fluxcd.io
      • v1 - GitRepository
      • v1beta2
        • Bucket
        • HelmChart
        • HelmRepository
        • OCIRepository

If anyone is willing to get involved and complete some of these subtasks, we would be very grateful and welcome your participation.

You can directly tell me in the comments which subtasks you want to complete, and I will assign them to you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/cleanupCategorizes issue or PR as related to cleaning up code, process, or technical debt.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions