Replies: 1 comment 6 replies
-
I tend to do it. So I would vote for it It avoids over testing what is not exported. |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Testing only the public API will make future changes easier for future refactorings and puts developers in the shoes of the users.
Some interesting comments on the matter:
https://www.reddit.com/r/golang/comments/xraka7/comment/iqexb1d/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button
Beta Was this translation helpful? Give feedback.
All reactions