Software Engineering ยท Testing
A known, reusable block of test data or environment state set up before a test runs, so every test starts from the same baseline.
Example: A pre-built 'test user' account created fresh before each test.
In practice: Good fixtures are isolated and repeatable โ a shared mutable fixture across tests is a common source of flakiness when one test's leftover state leaks into another.