Skip to content

test: add Unit Test Coverage for Reflect Util#1026

Open
kartikangiras wants to merge 1 commit into
goharbor:mainfrom
kartikangiras:test/reflectutil
Open

test: add Unit Test Coverage for Reflect Util#1026
kartikangiras wants to merge 1 commit into
goharbor:mainfrom
kartikangiras:test/reflectutil

Conversation

@kartikangiras

Copy link
Copy Markdown

Description

Add unit test coverage for pkg/utils/reflect.go (ExtractConfigValues, ConvertToConfigurations, ExtractConfigurationsByCategory, IsCategory).

Type of Change

Please select the relevant type.

  • Bug fix
  • New feature
  • Refactor
  • Documentation update
  • Chore / maintenance

Changes

  • pkg/utils/reflect_test.go: 8 tests for config extraction, conversion, category filtering, and nil safety

Signed-off-by: Kartik Angiras <angiraskartik@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[feature]: Add Unit Test coverage for Utils

1 participant