-
Notifications
You must be signed in to change notification settings - Fork 2
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
Config client #244
Config client #244
Conversation
Co-authored-by: Sylvie <[email protected]>
Co-authored-by: Sylvie <[email protected]>
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mostly some clarifying questions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe two or so tests do not follow the testing naming convention set by the ADR, which should follow either Test_TheMethodBeingTested_TheCoveredScenario_TheExpectedResult
or Test_TheMethodBeingTested_TheExpectedResult
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is updated
assert.Contains(t, buffer.String(), "Invalid encoding found") | ||
} | ||
|
||
func Test_validateDefaultEncoding_errors(t *testing.T) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is validateDefaultEncoding missing a happy path or is populateConfig covering it enough that we don't need it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The latter
Co-authored-by: halprin <[email protected]>
Quality Gate passedIssues Measures |
Description
Adding a config parsing utility that will allow us to receive the texts of any config file and load it into a struct.
Issue
Issue
Checklist
Note: You may remove items that are not applicable