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
- deterministic — Always producing the same result from the same inputs, with nothing left to chance or timing.
- integration test — A test that checks several real parts working together, such as the service talking to a real database.
- load testing — Measuring how a system behaves while a chosen amount of traffic is sent to it, to find its latency, throughput and limits.
- volume — Storage managed by Docker that lives outside any container, so data survives when the container is removed.
- dynamic application security testing — Testing a running service for security problems by sending it crafted requests and observing the responses and state changes.
- regression test — A test run to check that behaviour which used to work still works after a change.
Taught in
- What An API Is, And The Alternatives — Modern API Architecture: REST, GraphQL & gRPC
- Pagination Strategies — Modern API Architecture: REST, GraphQL & gRPC
- Unit And Integration Testing — Modern API Architecture: REST, GraphQL & gRPC
- Load Testing — Modern API Architecture: REST, GraphQL & gRPC
- Development Overrides, Hot Reloading And Debuggers — Docker Architecture & Production Containers
- Integration Tests, Test Data And Compose Cleanup — Docker Architecture & Production Containers
- Integration Testing with WebApplicationFactory — Modern .NET Core, C# & Enterprise Microservices
- SQL Injection: The Exploit — Application Security & Threat Modeling for Engineers
- Dynamic Scanning — Application Security & Threat Modeling for Engineers
- Secret Scanning — Application Security & Threat Modeling for Engineers