Skip to content

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

  1. Synthetic 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-01
  2. A 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-02
  3. Unmodified production data MUST NOT be copied, replicated, or restored into a non-production environment. std-qe-data-sources-03
  4. A 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-04
  5. A production-derived extract MUST preserve the referential relationships required by the testing activity. std-qe-data-sources-05
  6. A production-derived extract MUST NOT permit an individual to be re-identified using information reasonably available in its intended environment. std-qe-data-sources-06
  7. Use of a production-derived extract MUST have a defined expiry before it begins. std-qe-data-sources-07
  8. Each production-derived extract populating a non-production environment MUST be traceable to its source, destination, and expiry. std-qe-data-sources-08

Implements These Principles

National Health Index Test Data

Summary

Test data uses only synthetic National Health Index (NHI) identifiers or values reserved for testing.

Standards

  1. An NHI identifier in test data MUST be synthetic or drawn from a range reserved for testing by the NHI standard. std-qe-nhi-test-data-01
  2. An NHI identifier in test data MUST NOT identify a real person. std-qe-nhi-test-data-02

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

  1. A 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-01
  2. A test dataset SHOULD be limited to the volume and scope a test genuinely requires. std-qe-dataset-scope-02

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

  1. Provisioning 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-01
  2. An individual team member MUST NOT need personal access to a production environment to provision or delete a test dataset. std-qe-dataset-lifecycle-02
  3. Access used to provision or delete a test dataset MUST be held by the automated process and scoped to least privilege. std-qe-dataset-lifecycle-03
  4. Retrieving production data to provision a test dataset MUST NOT cause the production environment to breach its performance or capacity targets. std-qe-dataset-lifecycle-04
  5. Masking or de-identification of a production-derived extract MUST be performed automatically when the test dataset is provisioned. std-qe-dataset-lifecycle-05
  6. A test dataset derived from production MUST be deleted once the testing activity it supports concludes. std-qe-dataset-lifecycle-06

Implements These Principles