Skip to content

test(common): add unit tests for common helpers#2740

Open
Rucha0901 wants to merge 1 commit into
kubearmor:mainfrom
Rucha0901:testing/add-common-unit-tests
Open

test(common): add unit tests for common helpers#2740
Rucha0901 wants to merge 1 commit into
kubearmor:mainfrom
Rucha0901:testing/add-common-unit-tests

Conversation

@Rucha0901

Copy link
Copy Markdown
Contributor

Purpose of PR?:

Fixes #2739

Does this PR introduce a breaking change?
No

If the changes in this PR are manually verified, list down the scenarios covered::

  • Created unit tests for the functions: Clone, RemoveStringElement, ContainsElement, MatchesRegex, ObjCommaCanBeExpanded, ObjCommaExpandFirstDupOthers, CopyFile, and GetDateTimeNow.
  • Verified file syntax and structure.

Additional information for reviewer? :
N/A

Checklist:

  • Bug fix. Fixes test(common): implement unit tests for common helpers #2739
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update
  • PR Title follows the convention of <type>(<scope>): <subject>
  • Commit has unit tests
  • Commit has integration tests

Signed-off-by: Rucha0901 <imt_2025071@iiitm.ac.in>
@Rucha0901 Rucha0901 force-pushed the testing/add-common-unit-tests branch from 5d10349 to 89ffe5d Compare July 6, 2026 15:35
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.

test(common): implement unit tests for common helpers

1 participant