Skip to content

test() - Added unit tests for util/executables.go.#75

Open
yuvraj-kolkar17 wants to merge 7 commits intokubeslice:masterfrom
yuvraj-kolkar17:test/add-executable-tests
Open

test() - Added unit tests for util/executables.go.#75
yuvraj-kolkar17 wants to merge 7 commits intokubeslice:masterfrom
yuvraj-kolkar17:test/add-executable-tests

Conversation

@yuvraj-kolkar17
Copy link

@yuvraj-kolkar17 yuvraj-kolkar17 commented Jul 28, 2025

Description

This PR adds unit tests for the functions in util/executables.go.

Part of the issue #46

How Has This Been Tested?

go test ./util -coverprofile=coverage.out   

github.com/kubeslice/kubeslice-cli/util 3.227s  coverage: 50.0% of statements 

Checklist:

  • The title of the PR states what changed and the related issues number (used for the release note).
  • Does this PR requires documentation updates?
  • I've updated documentation as required by this PR.
  • I have performed a self-review of my own code.
  • I have commented my code, particularly in hard-to-understand areas.
  • I have tested it for all user roles.
  • I have added all the required unit test cases.

Does this PR introduce a breaking change?


Signed-off-by: yuvraj Kolkar <kolkaryuvraj2@gmail.com>
Signed-off-by: yuvraj Kolkar <kolkaryuvraj2@gmail.com>
@yuvraj-kolkar17
Copy link
Author

yuvraj-kolkar17 commented Jul 28, 2025

@yuvraj-kolkar17 yuvraj-kolkar17 changed the title test() - Added unit tests for executables utilities test() - Added unit tests for util/executables.go. Jul 29, 2025
Signed-off-by: yuvraj Kolkar <144676738+yuvraj-kolkar17@users.noreply.github.com>
Signed-off-by: yuvraj Kolkar <144676738+yuvraj-kolkar17@users.noreply.github.com>
Signed-off-by: yuvraj Kolkar <144676738+yuvraj-kolkar17@users.noreply.github.com>
Signed-off-by: yuvraj Kolkar <144676738+yuvraj-kolkar17@users.noreply.github.com>
Signed-off-by: yuvraj Kolkar <144676738+yuvraj-kolkar17@users.noreply.github.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.

1 participant