Skip to content

creating a unit test using mocking for the generate SS function#20

Closed
aabughosh wants to merge 13 commits intoopenshift-kni:mainfrom
aabughosh:generateUnittest
Closed

creating a unit test using mocking for the generate SS function#20
aabughosh wants to merge 13 commits intoopenshift-kni:mainfrom
aabughosh:generateUnittest

Conversation

@aabughosh
Copy link
Copy Markdown
Collaborator

update the function: remove unused vars
and update the debug object to use the mock functions on test

update the function: remove unused vars
and update the debug object to use the mock functions on test
Comment thread commatrix/generate_test.go Outdated
Comment thread debug/debug.go
@aabughosh aabughosh requested a review from sebrandon1 July 31, 2024 09:18
Copy link
Copy Markdown
Contributor

@sebrandon1 sebrandon1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems to be okay as far as unit tests go. The only functional changes just move parameters from struct to interface which is fine.

Comment thread commatrix/commatrix_test.go Outdated
Comment thread commatrix/commatrix_test.go Outdated
@openshift-merge-robot openshift-merge-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Aug 12, 2024
@openshift-merge-robot
Copy link
Copy Markdown

PR needs rebase.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@aabughosh aabughosh closed this Aug 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants