Skip to content

Glossary: Software Design Patterns in C++

Fixture

Also written: test fixture, fixtures

A helper that builds the object under test with fresh parts so no test sees another's data. `make_log` and `Parts` are fixtures.

Where the book teaches it

Related terms

FakeGoogleTest