Data Strategy NZ

Stage 7: Build the foundation · Phase 37 of 50

Phase 37. Test, validate and tune

Prove the increment's data is accurate, complete, valid and fast enough before release, and keep checking it automatically.

Importance
ImportantWhat the ratings mean
Effort
MediumThe effort scale
Horizon
Deliver7. Build the foundation
Repeats for each increment
Do this phase again for each increment you deliver.

What this phase is for

Technical tests can pass while the numbers are still wrong. Row counts match, jobs finish green, and yet the margin figure is off because a rebate was missed. This phase proves that the released data is accurate, complete, valid and quick enough in terms the business recognises, and it sets up automatic checks so quality does not slide after launch.

It is rated important, Medium effort, and repeats for every increment. For a smaller organisation the light version is to test whatever the pilot or increment actually releases, rather than the whole platform. It relies on the thresholds set in phase 18, the loads built in phase 35 and the shared data sets from phase 36, and it may proceed in parallel with cataloguing and the AI controls.

Decisions and outputs

The record is a test log: each test case, the data set it covers, the expected and actual result, pass or fail, any issue and its fix, the validation rules in force, how invalid data is handled, performance targets and results, user acceptance results, and whether each check is automated.

The decisions settled are what counts as good enough to release, what happens to records that fail validation (fixed, flagged or excluded under an agreed rule), and whether performance needs tuning now or can wait for real usage.

Who usually owns it

About 150 staffAbout 400 staffAbout 1,000 staff
Senior BI analyst and business users, with the implementation partnerBI analyst or test lead, with data stewards and business usersTest lead or data quality analyst, with stewards and business users

How to do it

  1. Turn thresholds into test cases. Take each critical data element and its phase 18 threshold and write tests for accuracy, completeness and validity. Use realistic volumes and messy cases, not tidy samples.
  2. Fix causes, not symptoms. When a test fails, trace it to where the error starts. Often that is data entry in the source system, not the pipeline. Fix it there, retest and record both results.
  3. Put the data in front of the people who know it. Ask business users to check figures against what they know: last month's totals, a familiar customer, a branch they manage. Their sign-off is the acceptance that matters.
  4. Automate the validation rules. Build the checks into the pipeline and, where you can, into the source system at the point of entry. Agree whether each failing record is fixed, flagged or excluded.
  5. Time the refresh with real volumes. Measure load and refresh times against agreed targets. Only tune if a target is missed; otherwise wait until users show where speed matters.
  6. Keep the tests running. Schedule the automated checks to run with each load, and route failures to the steward or owner of the data.

Your workspace for this phase

Tick each point as you finish it. Add a note, an owner and a due date where it helps. Saved on this device as you type.

0 of 10 points done

  1. Note, owner, due date
  2. Note, owner, due date
  3. Note, owner, due date
  4. Note, owner, due date
  5. Note, owner, due date
  6. Note, owner, due date
  7. Note, owner, due date
  8. Note, owner, due date
  9. Note, owner, due date
  10. Note, owner, due date

Template: what this phase produces

Download this template as a Word document

Fill in each output. It is saved on this device and compiled into your data strategy pack.

The checklist points explained

Points 1, 2, 9 and 10 are the four template points found in every phase. The six below belong to phase 37.

3. Test cases designed
Tests built on toy data miss the edge cases that cause real errors. Done means test cases cover accuracy, completeness and validity for the critical fields, measured against the phase 18 thresholds, using data that looks like production.
4. Issues fixed and retested
Patching a report hides a problem that will return. Done means each issue was traced to its root, fixed there, retested, and the before and after results recorded in the test log.
5. Users accept
Only people who use the data daily can tell whether a number feels right. Done means named business users have tested figures against what they know and signed their acceptance in writing.
6. Validation automated
Manual checking stops the week after launch. Done means validation rules run automatically, ideally at entry in the source system too, and there is an agreed rule for fixing, flagging or excluding records that fail.
7. Performance tested
A refresh that overruns its window leaves people with stale data first thing in the morning. Done means refresh times were measured against targets with realistic volumes, and tuning effort was only spent where a target was missed.
8. Testing continues
Quality at launch says little about quality six months on. Done means the automated tests run with each new load and keep reporting after release, feeding the day-to-day quality work in stage 9.

Where it goes wrong

  • Testing only technical counts, not business meaning. Pair every count-based check with one that tests a business fact, such as a known customer's margin or a branch's monthly sales. Ask a user which figures they would check first and build those in.
  • Skipping user acceptance testing. Book user acceptance sessions in the plan from the start and name the testers. If time is short, shrink the scope of the increment rather than dropping acceptance.
  • Tuning performance before anyone uses the platform. Record performance targets, measure them, and leave tuning until a target is missed or real usage shows a slow spot. Early tuning tends to optimise queries nobody runs.

How it feeds the foundation gate

This phase produces the main evidence for the first foundation gate criterion, which asks whether critical data for the increment meets the accuracy and completeness levels its owners set. The forum will ask for the test log, the before and after figures for any fixes, and signed user acceptance. Refresh times against targets also help show the increment is fit to release. Because testing continues after launch, the same checks become part of the routine quality reviews in phase 45.

Gate 7 criteria · Foundation gate paper (Word)

Worked example: Rimu Ridge Supplies

Rimu Ridge wrote 146 test cases, each tied to a threshold the data owners had set in stage 3. Early runs confirmed what the quality assessment had found: too many trade accounts lacked a floor price, and the cause sat at the counter, where staff could override a price without recording why.

Rather than patching reports, the team changed the source. The ERP was set to require a reason code for every override, and floor price completeness climbed from 86% to 98%, which cleared the owner's threshold. Pricing staff and two branch managers then sat with the dashboards and compared them with accounts they knew well before signing acceptance. Refresh time came in at 22 minutes against a 60-minute target, so no tuning was needed. The checks stayed switched on after release, and the GM sales sees a weekly quality summary as part of normal governance.

Rimu Ridge through all of stage 7 · Blank phase 37 template (Word)

Framework mapping

DAMA-DMBOK2: Data Quality; Data Storage and Operations.
DCAM: Data Quality Management; Data Control Environment. About the mapping

Background reading

Score this phase

Question 37 of the full assessment rates this phase from 0 to 4.