TOPIC 14/6214 MINNOT STARTED

Test data and masking

Build data for the test without exposing people. Learn what masking changes, what can still identify someone, and how to check and retire a test set.

L1–L4 are part of the Pro pass

L0 Explain simply

Analogy: a film set. A crew uses a prop letter instead of a customer's real letter. It needs the right shape for the scene. It does not need someone's private story. A real letter with the name painted over may still reveal who wrote it.

Daily List is a to-do list app. Tom, the tester, needs users with free and paid plans. Leo, the developer, offers a copy of the live database. Tom asks whose data is in that copy and what the test needs.

A brings real user records into another place. That can add people who can read them, extra files and new ways to send messages. Calling the place a test system does not remove privacy duties.

Tom can build a small set of invented users from the test rules. If the team needs a real-data copy, it must first check the purpose, permission and controls. Masking removes or replaces selected values. It does not by itself prove that no one can be identified.

Pseudonymisation keeps a possible link to a person through separately protected information. Anonymisation removes the ability to identify people using means reasonably likely to be used. The second claim needs evidence, not just a missing name column.

Picture limit: even data labelled synthetic can reveal private source data. Ask how it was made, and keep test messages away from real recipients.

(SYNTHETIC / TRAINING ONLY: Daily List and every person in this lesson are invented.)

PLAIN WORDS · 2 in this section
pseudonymisation
swapping names for codes that a key could undo
anonymisation
changing data so nobody can tell whom it is about

PICTURE IT

The picture is the one the lesson above opens with. The table below shows how each part of it matches the software.

THE REAL JOB Build data for the test without exposing people, as a film set uses a prop letter instead of a private letter.

  1. Define the test
  2. Check the source
  3. Protect links and delivery
  4. Verify cleanup
Check the prop letter

HOW THE PICTURE MAPS

How each part of the picture matches the software
In the pictureIn the software
A prop letterA fixture built from the test rules
A real customer letter on the setA production data copy
Painting over a nameMasking selected values without proving anonymity
A separately locked list of true namesAdditional protected information that can link codes to people

WHERE THIS PICTURE STOPS

  • A prop can be clearly fake, but test data must still exercise the feature.
  • Hiding a name can leave other clues to a person.
  • A generator can reveal private source information; appearance is not a privacy test.

HOOK

Fit the test. Check the source. Protect the person.

REMEMBER IT THIS WAY

A rule of thumb: if you see this, think that.

Before you copy live data, ask what the test needs and whose data is in the copy.

What each part of the trick stands for
In the trickWhat it stands for
What the test needsthe cases the feature must exercise
Whose datawhether records or a model came from private source data

The question starts a review but does not replace permission, privacy checks or controlled delivery.

TELL A FRIEND

Use a prop letter for the scene, not a private letter with its name painted over. needs useful shapes and a checked source.

OFTEN MIXED UP WITH Privacy checks. Privacy checks covers how the app treats . This lesson applies that care to the records used for testing.

Sources & standards — 4 sources
  1. Regulatory guidance

    De-Identifying Government Datasets: Techniques and Governance (NIST SP 800-188) ↗ — National Institute of Standards and Technology (NIST) · NIST SP 800-188, final September 2023: sections 4.3.1–4.3.2 (printed pp. 51–52), 4.4 (pp. 61–66), 4.6 (pp. 68–71) and 5.2.1–5.3 (pp. 73–74). Primary PDF passages opened 8 November 2026. Technical guidance, not a legal determination.

    Covers de-identification and formal privacy methods, and lists data-sharing models including synthetic data. · Checked 2026-11-08

    Final September 2023 publication. Primary PDF opened 8 November 2026: sections 4.3.1–4.3.2, 4.4, 4.6 and 5.2.1–5.3. Covers protected mappings, hashing risks, synthetic-data leakage, usefulness and privacy validation, and masking-tool limits. Technical guidance, not a GDPR legal determination. Table 3 on printed p. 62 was visually inspected as a possible teaching visual; no source image integrated. PDF authority page states this publication is not subject to copyright in the United States and attribution is appreciated.

  2. Official requirement

    Regulation (EU) 2016/679 — data protection principles, definitions and security ↗ — European Union · Regulation (EU) 2016/679, original OJ text, Recital 26 and Articles 4(1), 4(5), 5, 6 and 32. Primary PDF passages opened 8 November 2026. EU scope; not a full latest-case-law or national-law review.

    EU GDPR: identifiable personal data, separately protected additional information for pseudonymisation, means reasonably likely to identify a person, lawful processing, purpose and data minimisation, storage limitation and security suited to risk. Does not override applicable retention obligations or determine a specific dataset’s legal status. · Checked 2026-11-08

    Primary original OJ PDF opened 8 November 2026 at https://eur-lex.europa.eu/eli/reg/2016/679/oj/eng/pdf . Read Recital 26, Articles 4(1), 4(5), 5, 6 and 32 for test-data teaching. Existing Article 5 uses remain valid. This is not a complete later-amendment, case-law or national-law audit. Do not infer a universal test-data retention period or permission to copy production data.

  3. Official requirement

    Reserved Top Level DNS Names ↗ — RFC Editor / Internet Engineering Task Force · RFC 2606, June 1999, sections 2–3 and 5: reserved test/example domain names and conflicts with real names. Primary text opened 8 November 2026. Reservation alone is not an outbound-message control.

    Reserved names for testing and documentation in Business Analysis and Software Testing examples. Does not establish anonymity, invent a mailbox or control an application’s outbound delivery. · Checked 2026-11-08

    RFC2606 / BCP32,June1999. Actual read scope: Complete substantive abstract and sections1–5 lines18–144; copyrightstatement193–219 observed. Limits: Does not guarantee invented person names are unique or establish anonymisation; controlled test delivery still required. No figure copied or integrated. Reopened sections 2–3 and 5 on 8 November 2026 for test-data masking. No source art copied.

  4. Simplified educational illustration

    Payments Signal editorial teaching models — Payments Signal · Daily List worked fixture, test checks, delivery sink and cleanup plan; authored application of the cited principles.

    This site's own simplified teaching models. · Checked 2026-07-12

    What this simplifies: Invented users, identifiers, counts and test results. No production export, privacy certification or universal retention period is implied.

    Used wherever diagrams, scenarios, figures, or example values are didactic constructions rather than sourced facts; every such use carries a simplifications disclosure. All people, companies, banks, and list entries in examples are fictional.

PRACTISE AND KEEP

Sources for this topic — 4 sources
  1. Regulatory guidance

    De-Identifying Government Datasets: Techniques and Governance (NIST SP 800-188) ↗ — National Institute of Standards and Technology (NIST) · NIST SP 800-188, final September 2023: sections 4.3.1–4.3.2 (printed pp. 51–52), 4.4 (pp. 61–66), 4.6 (pp. 68–71) and 5.2.1–5.3 (pp. 73–74). Primary PDF passages opened 8 November 2026. Technical guidance, not a legal determination.

    Covers de-identification and formal privacy methods, and lists data-sharing models including synthetic data. · Checked 2026-11-08

    Final September 2023 publication. Primary PDF opened 8 November 2026: sections 4.3.1–4.3.2, 4.4, 4.6 and 5.2.1–5.3. Covers protected mappings, hashing risks, synthetic-data leakage, usefulness and privacy validation, and masking-tool limits. Technical guidance, not a GDPR legal determination. Table 3 on printed p. 62 was visually inspected as a possible teaching visual; no source image integrated. PDF authority page states this publication is not subject to copyright in the United States and attribution is appreciated.

  2. Official requirement

    Regulation (EU) 2016/679 — data protection principles, definitions and security ↗ — European Union · Regulation (EU) 2016/679, original OJ text, Recital 26 and Articles 4(1), 4(5), 5, 6 and 32. Primary PDF passages opened 8 November 2026. EU scope; not a full latest-case-law or national-law review.

    EU GDPR: identifiable personal data, separately protected additional information for pseudonymisation, means reasonably likely to identify a person, lawful processing, purpose and data minimisation, storage limitation and security suited to risk. Does not override applicable retention obligations or determine a specific dataset’s legal status. · Checked 2026-11-08

    Primary original OJ PDF opened 8 November 2026 at https://eur-lex.europa.eu/eli/reg/2016/679/oj/eng/pdf . Read Recital 26, Articles 4(1), 4(5), 5, 6 and 32 for test-data teaching. Existing Article 5 uses remain valid. This is not a complete later-amendment, case-law or national-law audit. Do not infer a universal test-data retention period or permission to copy production data.

  3. Official requirement

    Reserved Top Level DNS Names ↗ — RFC Editor / Internet Engineering Task Force · RFC 2606, June 1999, sections 2–3 and 5: reserved test/example domain names and conflicts with real names. Primary text opened 8 November 2026. Reservation alone is not an outbound-message control.

    Reserved names for testing and documentation in Business Analysis and Software Testing examples. Does not establish anonymity, invent a mailbox or control an application’s outbound delivery. · Checked 2026-11-08

    RFC2606 / BCP32,June1999. Actual read scope: Complete substantive abstract and sections1–5 lines18–144; copyrightstatement193–219 observed. Limits: Does not guarantee invented person names are unique or establish anonymisation; controlled test delivery still required. No figure copied or integrated. Reopened sections 2–3 and 5 on 8 November 2026 for test-data masking. No source art copied.

  4. Simplified educational illustration

    Payments Signal editorial teaching models — Payments Signal · Daily List worked fixture, test checks, delivery sink and cleanup plan; authored application of the cited principles.

    This site's own simplified teaching models. · Checked 2026-07-12

    What this simplifies: Invented users, identifiers, counts and test results. No production export, privacy certification or universal retention period is implied.

    Used wherever diagrams, scenarios, figures, or example values are didactic constructions rather than sourced facts; every such use carries a simplifications disclosure. All people, companies, banks, and list entries in examples are fictional.

Deepest material on this page: L4 — Standards & sources. Where a topic stops short of implementation depth, that is a deliberate coverage decision, not an oversight — see coverage.