Skip to content

Glossary: Software Design Patterns in C++

Characterization test

Also written: characterization tests

A test that records what existing code does today, right or wrong, so you can prove a redesign changes nothing. For example, pinning the totals 467.5, 42.6 and 31.25 before rebuilding `place_order`.

Where the book teaches it

Related terms

Fixture