Test Data Management
Data Sources
Summary
Non-production environments prefer synthetic or fixture data; any production-derived extract prevents reconstruction and re-identification, preserves relationships required for testing, and has time-bounded, traceable use.
Standards
std-qe-data-sources-01Synthetic or fixture data SHOULD be preferred over a de-identified or masked production extract, which SHOULD be reserved for a need synthetic data cannot satisfy, such as performance testing's realistic volume or reproducing a specific production issue.std-qe-data-sources-02A non-production environment MUST be populated only from synthetic data, a de-identified or masked production extract, or a purpose-built fixture dataset.std-qe-data-sources-03Unmodified production data MUST NOT be copied, replicated, or restored into a non-production environment.std-qe-data-sources-04A production-derived extract MUST NOT permit its original values to be reconstructed from the transformed data or any retained mapping or key.std-qe-data-sources-05A production-derived extract MUST preserve the referential relationships required by the testing activity.std-qe-data-sources-06A production-derived extract MUST NOT permit an individual to be re-identified using information reasonably available in its intended environment.std-qe-data-sources-07Use of a production-derived extract MUST have a defined expiry before it begins.std-qe-data-sources-08Each production-derived extract populating a non-production environment MUST be traceable to its source, destination, and expiry.
Implements These Principles
Dataset Scope
Summary
A test dataset is representative of the conditions under test and limited to the required volume and scope.
Standards
std-qe-dataset-scope-01A test dataset MUST be representative of the conditions relevant to the test it supports, such as realistic volume, distribution, or boundary values.std-qe-dataset-scope-02A test dataset SHOULD be limited to the volume and scope a test genuinely requires.
Implements These Principles
Dataset Lifecycle
Summary
Test datasets are provisioned on demand, masked or de-identified, and deleted after testing through a documented, automated least-privilege process that does not require personal production access or degrade production performance.
Standards
std-qe-dataset-lifecycle-01Provisioning and deletion of a test dataset MUST each be available to a team on demand through an automated process that is documented well enough for the team to operate and maintain it.std-qe-dataset-lifecycle-02An individual team member MUST NOT need personal access to a production environment to provision or delete a test dataset.std-qe-dataset-lifecycle-03Access used to provision or delete a test dataset MUST be held by the automated process and scoped to least privilege.std-qe-dataset-lifecycle-04Retrieving production data to provision a test dataset MUST NOT cause the production environment to breach its performance or capacity targets.std-qe-dataset-lifecycle-05Masking or de-identification of a production-derived extract MUST be performed automatically when the test dataset is provisioned.std-qe-dataset-lifecycle-06A test dataset derived from production MUST be deleted once the testing activity it supports concludes.