Your developers need data that behaves like the real thing. Your security team needs customer records to stay out of test systems. Both are right.
The two usual shortcuts
- Copy production data. It is realistic, but now sensitive records live in more places with weaker controls.
- Make up a few rows. It is safe, but tests pass on data that never breaks anything.
Many teams try a middle path: copy production, then mask it. Masking means replacing names, account numbers, and other sensitive fields with fake values. It helps, but it has limits. Masking has to be applied to every sensitive field in every table, every time the copy is refreshed. Miss one field, such as a free-text notes column where an agent typed a phone number, and real details leak into test. The copy also still has to pass through systems where the original records live, which is the step security teams worry about most.
What synthetic test data does differently
Synthetic test data is generated to match the shape of your real data: the same formats, ranges, links between fields, and unusual cases, with none of the actual records.
- Your tests run on realistic volumes and patterns.
- No real customer appears in a test system, because the data never touches your production records.
- You can create rare cases on purpose, instead of waiting for them to happen in production.
The four options compared
| Option | Realistic? | Real records in test? | Rare cases on demand? |
|---|---|---|---|
| Copy of production | Yes | Yes | Only the ones that already happened |
| Masked copy | Mostly | Not if masking is complete, but the copy starts from real records | Only the ones that already happened |
| A few made-up rows | No | No | Only if someone thinks to write them |
| Synthetic test data | Yes, if built to the right rules | No | Yes |
What "the shape of your data" means
Realistic test data copies the patterns, not the people. Before anything is generated, the patterns have to be written down as rules. Here is what those rules usually cover.
| Property | Example rule |
|---|---|
| Formats | Account numbers have a fixed length and a check digit. Dates follow one format |
| Ranges | Order values fall between a set minimum and maximum |
| Links between fields | A shipping date is never before the order date. A closed account has no new transactions |
| Links between tables | Every order belongs to a customer who exists in the customer table |
| Spread of values | Most customers place a few orders, and a small number place many |
| Unusual cases | Names with accents or apostrophes, very long addresses, a refund larger than the original order |
Notice that none of these rules need the real records themselves. Your teams already know most of them from how the systems are designed and how the business works. The rest can be described in summary terms, such as typical ranges, without exporting a single row.
How to build it, step by step
- Pick one system. Choose the one where test data causes the most pain today.
- Write the rules. Work with the people who build and run the system to list formats, ranges, links, and unusual cases.
- Agree what counts as realistic. Decide in advance how you'll judge the data, such as "tests that fail in production also fail in test."
- Generate a first batch. Keep it small enough to inspect by eye.
- Review it before use. Have the system owner and a tester look through it for anything that breaks the rules or looks wrong.
- Scale up. Generate the volumes your tests need, and keep the rules alongside the code so they change when the system changes.
How to tell it is working
Judge synthetic data by what it does in testing, not by how it looks. Three checks are worth running in the first weeks:
- Do known bugs show up? Take a few bugs that reached production in the past and check whether tests on the new data would have caught them.
- Do the summary numbers match? Compare simple totals and spreads, such as the share of orders that are refunds, with the same summaries from production, reported by the production team.
- Do testers trust it? If testers keep asking for a production copy "just to be sure," find out what the synthetic data is missing and add it to the rules.
Who should be involved
Three groups need a seat: the developers and testers who will use the data, the system owner who knows the business rules, and the security team who sets the limits. Bring security in at the start. When they help write the rules, they are far more likely to approve the result.
Common mistakes
- Matching formats but not links. Data where every field looks right but orders belong to customers who don't exist will break tests for the wrong reasons.
- Making everything average. If every customer looks typical, you won't find the bug that only shows up with the unusual ones.
- Letting the rules go stale. When a new field or status is added to the real system, the rules need updating too.
- Skipping the review. A short human check catches rule mistakes before a whole test cycle runs on them.
Where to start
Pick the system where test data causes the most pain, either because it is too risky to copy or too thin to be useful. Generate data for that first, and compare test results with what you see in production.
A good early sign is when a test that used to pass on thin data starts failing on synthetic data, and the failure matches a bug you have seen in production. That tells you the data is finally realistic enough to catch real problems.
Test data built to your rules, under your security policies
At Achyuraa, synthetic test data is part of our Process Modeling work. That may seem like an odd home for it, but it fits. Process Modeling is about building computer models that behave like the real thing, and realistic test data is the same idea applied to the records your software handles.
We build the data to rules your team agrees, using the kinds of properties described in this post: formats, ranges, links between fields and tables, and the unusual cases your tests need. Before anything is used, your team reviews it. No production records are copied at any point. Every rule and assumption behind the data is written down, so your team can read it, question it, and keep it current when the system changes.
Security is agreed before the work starts, not after. We sign an NDA before you share confidential details, and we agree with you exactly what data we can access. We then apply your security policies alongside our own, including encryption, multi-factor authentication (MFA), data masking where it is needed, tenant-level authorization, and role-based access.
Achyuraa has worked across banking, healthcare, education, retail, manufacturing, and technology. We are a research affiliate of the University of Oxford, and our teams work from Boston, Mexico City, London, and Bengaluru.
A first phase follows our usual pattern. In week 1 we understand the system and its rules. In weeks 2 and 3 we generate a first set and test it. In week 4 we check the results against real behavior with your engineers. We scale only if it holds up, and the first phase is scoped and priced before you commit.
If you have a system that is too risky to copy and too complex to fake by hand, book a free 30-minute call or write to contact@achyuraa.com. We reply within 1 to 2 business days.

