When it comes to test organization, Go’s standard testing library only gives you a few
options. I think that’s a great thing because there are fewer details to remember and fewer
things to onboard people to. However, during code reviews, I often see people contravene a
few common conventions around test organization, especially those who are new to the
language.
If we distill the most common questions that come up when organizing tests, they are: