Three-point estimation and Wideband Delphi (ISTQB CTFL)
ISTQB's CTFL v4.0 syllabus describes four test estimation techniques. Estimation based on ratios and extrapolation are metrics-based. Wideband Delphi and three-point estimation are expert-based. Three-point estimation calculates E = (a + 4m + b) / 6 from the most optimistic, most likely and most pessimistic estimates, with a measurement error of SD = (b - a) / 6.
Metrics-based: ratios and extrapolation
Estimation based on ratios takes figures from earlier projects and turns them into standard ratios that can be applied to similar work. The organization's own historical data is generally the best source. Example: if earlier projects had a development-to-test effort ratio of 5:2 and the new project expects 500 person-days of development, the test estimate is 200 person-days.
Extrapolation uses measurements from the current project, taken as early as possible. With enough observations, the effort for the remaining work is approximated by extrapolating the data, usually with a mathematical model. It suits iterative SDLCs well. Example: if testing took 18, 22 and 20 person-days in the last three iterations, the next iteration is estimated at the average, 20 person-days.
Expert-based: Wideband Delphi and Planning Poker
Wideband Delphi is iterative. Each expert estimates the effort in isolation. The results are collected. If an estimate deviates beyond the agreed limits, the experts discuss their estimates, and then each estimates again, still in isolation. This repeats until they reach consensus.
Planning Poker is a Wideband Delphi variant that is common in Agile software development. Estimates are usually made with cards whose numbers represent the size of the effort.
Three-point estimation: a worked example
Experts give three figures: the most optimistic estimate (a), the most likely (m) and the most pessimistic (b). In the most popular version, the final estimate is the weighted mean E = (a + 4m + b) / 6. The measurement error is SD = (b - a) / 6.
Example with a = 2, m = 5 and b = 14 person-days: E = (2 + 20 + 14) / 6 = 6, and SD = (14 - 2) / 6 = 2. The estimate is 6 plus or minus 2 person-days, which is between 4 and 8.
Two general points apply to every technique. Every estimate depends on assumptions and can be wrong, and stakeholders should be told so. Small tasks are usually estimated more accurately than large ones, so a large task can be split into smaller tasks that are estimated separately.
Where the exam catches people
Using a plain average of the three figures: the most likely estimate is weighted four times and the sum is divided by 6.
Reporting the range as a to b: the range is E minus SD to E plus SD.
Mixing up ratios and extrapolation: ratios use data from previous projects. Extrapolation uses measurements from the current project.
Choosing a published industry ratio over the organization's own: the syllabus says the organization's own project data is generally the best source.
Believing Planning Poker is a separate fifth technique: it is a variant of Wideband Delphi.