Skip to content

Glossary: Software Design Patterns in Go

Characterization test

Also written: characterization tests

A test that records what existing code does today, right or wrong, so a redesign can't change it without you noticing. For example, a test can pin the old order totals 467.5, 42.6 and 31.25.

Where the book teaches it

Related terms

Table-driven test