Chapter 12. Code Testing
Testing is a critical ritual of modern software development practices. Go brings testing directly into the development cycle by offering an API and command-line tool to seamlessly create and integrate automated test code. Here we will cover the Go testing suite, including the following:
The Go test tool
Writing Go tests
HTTP testing
Test coverage
Code benchmark