Skip to content

Glossary: Coding Interviews in Go

Test function

Also written: test functions

A function named `test` or `Test` plus what it tests, whose checks cover one thing. Called from `main` in the quick style, or run by `go test` when named `TestXxx`.

Where the book teaches it

Related terms

`check` helpergo test