Skip to content
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 api-tools/parser/parser.go #45

Open
jpahm opened this issue Nov 14, 2024 · 0 comments
Open

Add unit tests for api-tools/parser/parser.go #45

jpahm opened this issue Nov 14, 2024 · 0 comments
Labels
L2 A task suitable for someone who is comfortable helping with implementing features.

Comments

@jpahm
Copy link
Contributor

jpahm commented Nov 14, 2024

Add unit tests using Go's built-in testing library. I would personally be in favor of the test files being within the same package as the files being tested so that non-exported methods can be tested more easily; make sure to follow the _test.go file naming convention detailed in the linked docs. Be sure to seek out resources for details on how to write good unit tests if you are unsure.

@jpahm jpahm added the L2 A task suitable for someone who is comfortable helping with implementing features. label Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
L2 A task suitable for someone who is comfortable helping with implementing features.
Projects
None yet
Development

No branches or pull requests

1 participant