Golden Fixture
A trusted reference input-and-output pair used to validate that a system still produces the expected result.
What is Golden Fixture?
What is Golden Fixture?
A golden fixture is a curated, known-correct set of inputs paired with their expected outputs, stored as the authoritative reference for a test. When the system runs against the fixture, its output is compared to the golden copy; any divergence flags a regression for review. Golden fixtures make validation deterministic and easy to reason about, which is why QI's worker uses golden fixtures to verify that recordings and specs execute correctly and consistently across runs and environments.