-
Notifications
You must be signed in to change notification settings - Fork 506
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add unit tests for the obs.go file. #3953
base: master
Are you sure you want to change the base?
Conversation
Adding the "do-not-merge/release-note-label-needed" label because no release-note block was detected, please follow our release note process to remove it. 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. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: TatianaSelezneva The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Welcome @TatianaSelezneva! |
Hi @TatianaSelezneva. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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. |
@xmudrii , I'm wondering if you could please have a look? It adds unit tests for obs.go file, a first step towards completing #3168. To complete the card more unit tests are required, but I would prefer to avoid big PRs if I can, plus it would be good to get a feedback to understand if I'm moving in the right direction. Thank you! |
The pattern for tests has been borrowed from anago_test.go file as code looks very similar. Test cases have been tailored for the obs package however.
@TatianaSelezneva I didn't forget about this, it's in my inbox, but I'm a bit busy at the moment. I'll do my best to review this latest tomorrow. |
What type of PR is this?
/kind cleanup
What this PR does / why we need it:
We are missing unit tests for
krel obs
and this PR attempts to improve coverageRelevant card from the project board: #3168
Which issue(s) this PR fixes:
It improves unit test coverage for the
krel obs
Special notes for your reviewer:
The pattern for tests has been borrowed from anago_test.go file as code looks very similar.
While structure is the same, test cases have been tailored for the obs package.
Does this PR introduce a user-facing change?
NONE