Lesson 3 of 6
Prioritization criteria
7 min
Listen to this lesson
You will never have time to run every test for every change. Prioritization decides which tests sit in which tier, and which ones run first when a window is short. Done well, it is explicit and repeatable: two test leads looking at the same data reach the same ranking. Done badly, it reflects whoever shouts loudest or whichever tests are easiest to run. The aim is to spend scarce test time where a failure would hurt most and is most likely. That means some factors should never drive priority: who wrote the test, how easy it is to run, or how long it has been in the suite. Those are convenience, not risk. Five criteria do the real work.
Five criteria
| Criterion | Question | Where the data comes from |
|---|---|---|
| Business criticality | How bad is it if this process breaks? Revenue, cash, compliance, customers, safety. | Process owners such as Dan (finance) and Maria (order to cash); the business impact assessment from the project |
| Change frequency | How often is this area touched by transports, notes and SAP deliveries? | Transport history, change requests, release notes for the stacks you apply |
| Usage | How many users and documents run through it, and how often? | System usage statistics, document counts per month, the number of users with the role |
| Defect history | Has this area failed before, in testing or in production? | Defects and incidents in your test management and service tools |
| Integration and complexity | How many modules, company codes, interfaces or custom objects are involved? | Solution documentation, interface inventory, custom code lists |
Five prioritization criteria and their data sources.
A simple scoring model
Score each test (or each process the test covers) from 1 (low) to 5 (high) on the five criteria, then weight them. Criticality matters most, because it measures impact; the others mostly measure likelihood. Let the process owners score criticality, because they know what a failure costs, and let the test lead score the other four from data, because those are facts about the system rather than opinions. Where data is missing, for example usage of a rarely run report, score conservatively and note the gap so it can be filled before the next review. A workable starting formula is: priority = 3 × criticality + 2 × change frequency + 2 × usage + 2 × defect history + 1 × integration. The maximum is 50. The weights are a starting point, not a law; a regulated business might weight compliance-related criticality even higher, and a company with a history of interface failures might raise the integration weight. What matters is that the formula is written down and applied the same way to every test. The worked example below shows five Contoso tests scored with these weights.
| Contoso test | Crit. | Change | Usage | Defects | Integr. | Score | Tier |
|---|---|---|---|---|---|---|---|
| Sell from stock, plant 1710 to journal entry | 5 | 4 | 5 | 3 | 4 | 43 | Core (with smoke subset) |
| Weekly supplier payment run | 5 | 2 | 3 | 4 | 3 | 36 | Core (criticality override) |
| Buy CMC-RTR-200 from Lakeside Components to invoice | 4 | 3 | 4 | 2 | 4 | 34 | Extended, promote if changed |
| Intercompany stock transfer 1710 to 1720 | 3 | 3 | 2 | 4 | 5 | 32 | Extended |
| Custom stock list report for plant 1720 | 1 | 1 | 2 | 1 | 1 | 12 | Run on demand or retire |
Scoring five Contoso tests. Thresholds: 40+ core, 25 to 39 extended, under 25 on demand. Scores are illustrative.
Two rules keep the model honest. First, a criticality override: any process scored 5 for criticality goes into the core tier regardless of its total. The payment run changes rarely, but paying suppliers wrongly is not a risk Contoso will accept, so it sits in core at 36. Second, re-score after every release. Change frequency and defect history move; a test that scored 34 last quarter may score 42 after three defects. Present the model to the process owners once, agree the weights, thresholds and override rule, and record the agreement. After that, priority discussions become discussions about data, not opinions, and a new test lead can pick up the ranking without starting again.
- Is business criticality scored 5?Yes → core tier, whatever the total · No → next question
- Is the weighted score 40 or more?Yes → core tier · No → next question
- Is the score between 25 and 39?Yes → extended tier · No → run on demand or consider retiring
- Has a release passed since the last scoring?Yes → re-score change frequency and defect history, then ask again · No → keep the tier
Risk-based ranking plus change-based selection
The scoring model gives you a standing ranking: which tests matter most in general. Each change then adds a second layer: which tests are affected by this change. A transport that changes output for billing documents pulls in the billing and output tests, even if they normally sit in extended. In practice, the regression set for a change is: the smoke tier, plus the core tests if the change is significant, plus every test linked to the affected process steps. Lesson 5 shows how to find those affected steps. Change-based selection also works in reverse: if a stack touches nothing in an area for a whole release, its extended tests can safely wait, freeing time for the areas that did change. The order of execution follows the same logic: when a window is short, run smoke first, then the affected tests in descending score, then the remaining core tests. If time runs out, the tests left unrun are the lowest-risk ones, and you can say exactly which they were. That list belongs in the sign-off record, because a process owner is entitled to know what was not tested before accepting the residual risk.
- Smoke tierAlways first: is the system usable at all?
- Affected tests, highest score firstTests linked to the process steps this change touches.
- Remaining core testsThe standing ranking, in descending score.
- Record what did not runThe unrun tests are the lowest risk; list them in the sign-off record for the process owner.
What would you do?
Grace, the PMO lead, tells Priya that the core tier must shrink from three days to one day for the next support package stack, because key users are needed for a sales campaign. Priya has the scored list. What is her best approach?
- Rank tests on business criticality, change frequency, usage, defect history and integration.
- Weight criticality highest and apply an override so critical processes always stay in core.
- Re-score after every release; change frequency and defect history move.
- For each change, add tests linked to the affected process steps on top of the standing ranking.
Check your understanding · not graded
Lesson check
1. Which factor should NOT influence regression priority?
2. Why is criticality weighted highest in the scoring model?
3. The payment run scores 36, below the core threshold of 40. Why is it still in core?
4. A process is highly critical and changes often. Where does it belong?