| name | test-fixture-engineering |
| description | Build deterministic fixtures and test data with explicit lifecycle, ownership, isolation, and cleanup across parallel test execution. |
Test Fixture Engineering
Use when this procedure is the primary professional method needed for the assignment.
Procedure
- Confirm the decision or outcome this work must support, its scope, owner, constraints, and definition of success.
- Establish the evidence baseline using schema, factories, external-service constraints, parallelism model, and cleanup behavior. Do not fill material gaps with assumptions when they can change the result.
- Model fixture dependencies, generate minimal representative data, isolate mutable state, make cleanup idempotent, and detect leaked state.
- Exercise realistic edge, failure, transition, or exception cases that could invalidate the result; record unresolved uncertainty explicitly.
- Validate the output against the original outcome and any neighboring professional contracts so this skill does not silently absorb another specialist's authority.
- Record the resulting artifact, measurements, decisions, provenance, and handoff information needed for another owner to reproduce or continue the work.
Quality gate
Tests can run repeatedly and concurrently without order dependence or hidden shared state.