Glossary: Software Design Patterns in Go
Table-driven test
Also written: table-driven tests
A Go test that lists inputs and expected outputs in a slice of structs and loops over them. `TestSameTotalsAsBefore` has one row each for Bloom, Ana and Cy.
Glossary: Software Design Patterns in Go
Also written: table-driven tests
A Go test that lists inputs and expected outputs in a slice of structs and loops over them. `TestSameTotalsAsBefore` has one row each for Bloom, Ana and Cy.