Skip to content

Glossary: Coding Interviews in Go

Table test

Also written: table-driven test

A Go test that loops over a slice of cases, each with its inputs and expected answer. `TestEdgeCases` in Mock 2 is one.

Where the book teaches it

Related terms

go testEdge case