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.
Glossary: Coding Interviews in Go
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.