Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
testing: mention the “_test” package idiom #25223
However, https://tip.golang.org/pkg/testing/ omits that detail (emphasis mine):
Tests in a separate
After programming in Go for three years, I learned about this feature in this Stack Overflow answer. If the one sentence mentioning white-box and black-box testing had been in the reference documentation or the Effective Go document, it would have helped me quite a bit.