Lesson 1 of 6
Estimating test effort
12 min
Listen to this lesson
Every SAP test plan eventually turns into a question from the program office: how many people, for how long? A test lead who answers with a single number and no reasoning will be overruled. A test lead who answers with two independent estimates, their assumptions and a range will be listened to. This lesson gives you both techniques and a way to combine them.
Two families of technique
The ISTQB syllabi sort estimation techniques into two families. Metrics-based techniques use data. CTFL v4.0 names two: estimation based on ratios, which applies figures from earlier programs in your organization (for example, test effort as a share of build effort), and extrapolation, which measures the first weeks of the current cycle and projects the trend forward. Expert-based techniques use the judgment of people who have done the work: Wideband Delphi, where experts estimate independently, compare and converge (planning poker is its agile variant), and three-point estimation, where each expert gives an optimistic (a), most likely (m) and pessimistic (b) figure. The expected value is (a + 4m + b) ÷ 6 and the standard deviation is (b − a) ÷ 6. CTAL-TM v3.0 adds a rule of thumb: metrics suit well-understood scope, experts suit complex or novel scope, Wideband Delphi fits a sequential plan and planning poker fits a sprint team.
| Technique | Family | Good for | Watch out for |
|---|---|---|---|
| Unit rate × count | Metrics-based (ratios from history) | Test cycles with a known test case inventory | Rates from a different kind of program |
| Ratio to build effort | Metrics-based | Early sizing before test cases exist | Hides SAP specifics such as data and integration |
| Extrapolation | Metrics-based | Re-forecasting once a cycle is running | The first days of a cycle are rarely typical |
| Wideband Delphi / planning poker | Expert-based | New or unusual scope; building team buy-in | Anchoring on the loudest voice |
| Three-point: E = (a + 4m + b) ÷ 6, SD = (b − a) ÷ 6 | Expert-based | Expressing uncertainty as a range | Pessimistic case set too low |
Building a metrics-based estimate for an SAP cycle
In SAP programs the natural unit of scope is the business process, often expressed as SAP Best Practices scope items (for example BD9 Sell from Stock or J45 Procurement of Direct Materials, which you can look up in SAP Signavio Process Navigator) plus custom extensions and interfaces. Count the test cases each scope item needs, including variants such as plants, order types and partner functions, then apply complexity-based rates.
| Element | Contoso SIT cycle 2 assumption |
|---|---|
| Test case inventory | 420 end-to-end test cases: 180 simple, 170 medium, 70 complex |
| Execution rate | Simple 1.5 h, medium 3 h, complex 6 h (from cycle 1 actuals) |
| Base execution | 180 × 1.5 + 170 × 3 + 70 × 6 = 1,200 hours |
| Retest allowance | 25% of base for failed and blocked tests, from cycle 1 defect rate |
| Preparation and data | 15% for test data set-up, evidence review and status reporting |
| Total | 1,200 × 1.40 = 1,680 hours |
A unit-rate estimate. Every rate and allowance is an assumption you can show and defend.
Note what makes SAP different from a typical application estimate: test data (each order-to-cash test needs a customer, material with stock, pricing and credit settings), integration (interfaces to banks, carriers and plant systems often need their own test windows), authorizations (tests run under business roles, not super-users) and business tester availability. Estimate those explicitly rather than burying them in a contingency figure.
CTAL-TM v3.0 groups the factors that move test effort into five sets. Run through them before you publish, and write down what you assumed for each:
- Product: how complete and approved the test basis is (process designs, functional specifications for custom objects), how many scope items, variants and interfaces there are, and which quality characteristics need testing, such as authorizations or batch run times.
- Delivery process: how disciplined the build and transport flow into CMQ is, whether Realize runs in sprints, and whether automation and a stable test client exist.
- People: SAP and process experience, key-user availability, vacations, and the close weeks when finance testers disappear.
- Test results: the number and severity of defects found, which drive retest and rework.
- Test context: how many sites and teams are involved (Detroit, Chicago, an offshore integrator team) and whether testing is on site or remote.
Building an expert-based estimate
Bring the process test leads for order to cash, procure to pay, record to report and plan to produce together. Give each the scope list and ask for a three-point estimate per process, written down independently before discussion. Reveal, discuss the outliers, and re-estimate once. For Contoso's SIT cycle 2, the combined figures were optimistic 1,450, most likely 1,700 and pessimistic 2,250 hours. The expected value is (1,450 + 4 × 1,700 + 2,250) ÷ 6 = 1,750 hours and the standard deviation is (2,250 − 1,450) ÷ 6 ≈ 133 hours, so Priya can publish about 1,480 to 2,020 hours (two standard deviations either side) and note that the metrics-based 1,680 sits inside that range.
- Prepare the scope listScope items, variants, interfaces and custom objects
- Independent estimatesEach expert writes optimistic, most likely and pessimistic
- Reveal and discussExplore the biggest differences, not the average
- Re-estimateOne more independent round
- Compare with metricsExplain any large gap before you publish
- Publish a rangeExpected value, range and the assumptions behind it
Effort is not duration
CTAL-TM separates effort (person-hours) from duration (elapsed time), and the program office needs both. Contoso's 1,680 hours with 14 testers at about 30 productive test hours a week is four weeks of pure execution: 1,680 ÷ (14 × 30) = 4. That holds only if the build, data and interfaces are ready on day one. Entry work, waiting for fixes and the retest tail stretch it to about four and a half weeks. Plan the calendar from the team you will actually have, not from the hours alone.
Re-forecasting during the cycle
An estimate is a forecast, not a promise. Re-forecast weekly during execution using three numbers: tests remaining, actual hours per test by complexity so far, and the current failure rate (which drives retest effort). If Contoso's cycle 2 shows a 35% failure rate instead of the planned 25%, the retest allowance grows and the end date moves. Report that early and with the arithmetic visible; a test lead who forecasts a slip in week two is managing, one who announces it on the last day is not.
What would you do?
Grace, Contoso's PMO lead, asks Priya for UAT effort "by Friday, one number." No UAT test cases exist yet, but SIT actuals are available. What should Priya provide?
- Use at least two techniques: one metrics-based (ratios, extrapolation), one expert-based (Wideband Delphi, three-point).
- Count scope by process and variant, and apply rates measured on your own program wherever possible.
- Check the five groups of effort factors and estimate SAP-specific effort (data, integration, authorizations, tester availability) explicitly.
- Publish a range with assumptions, turn effort into duration, then re-forecast from actuals.
Check your understanding · not graded
Lesson check
1. Which is an expert-based estimation technique?
2. In three-point estimation, how is the expected value usually calculated?
3. Why should test data effort be estimated explicitly in SAP programs?
4. What is the best source of execution rates for cycle 2?
5. Experts give 1,450, 1,700 and 2,250 hours (optimistic, most likely, pessimistic). What is the three-point standard deviation?