Skip to content

Glossary: Software Design Patterns in Java

Characterization test

Also written: characterization tests

A test that records what existing code does today, right or wrong, so a redesign can't change that behavior by accident. For example, tests that pin an old order module's totals of 467.5, 42.6 and 31.25 prove a rewrite still gives the same answers.

Where the book teaches it

Related terms

Fixture