Skip to content

Tests: Add unit test coverage for oam, auth, and config packages #133835

@AshvinBambhaniya2003

Description

@AshvinBambhaniya2003

Description

Several core packages in KubeVela, including pkg/oam, pkg/auth, and pkg/config, have areas with missing unit test coverage. This makes it harder to verify the correctness of new changes and prevent regressions.

This issue is to track the work of adding new unit tests to improve the test coverage for these packages.

Scope

  • pkg/oam: Add unit tests for the auxiliary functions in pkg/oam/auxiliary.go.
  • pkg/auth: Add unit tests for the core logic in the pkg/auth package.
  • pkg/config: Add unit tests for the configuration handling in the pkg/config package.
  • pkg/cue: Add unit tests for the definition,script and task packages.

This will help improve the overall quality and stability of the KubeVela codebase.

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-triageIndicates an issue or PR lacks a `triage/foo` label and requires one.sig/testingCategorizes an issue or PR as relevant to SIG Testing.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions