This page provides selected topics related to testing Go code.
Coverage testing for integration tests in Go shows how to use Go to collect coverage profiles for larger programs (applications, integrations tests), starting in Go 1.20.