testfixture

noun
UK /ˈtest fɪkstʃə/
US /ˈtest fɪkstʃər/

A test fixture is a special setup that helps people test something safely and the same way every time.

The engineer built a test fixture to hold the phone steady during the drop test.


OTHER MEANINGS

2. In software testing, code that prepares a known state before a test runs.

The unit test uses a fixture to create a fresh database before each run.

3. A device that holds a workpiece firmly in place during manufacturing or inspection.

The machinist clamped the part into the fixture before drilling.

4. Any fixed item or sample used as a standard for comparison in experiments.

The lab keeps a reference fixture to check the sensors each morning.