test data

Known sample records loaded before tests so their results are predictable.

In more detail

Reset it before each run so results do not depend on what earlier tests changed. For load tests it must also be large enough to show how queries behave at realistic volumes. Never use a copy of real customer data.

Example

In the APIs course: The course service reloads the same tasks from seeds.json every time it starts, so every lesson and every test sees identical data.

Related terms

Taught in

References