Objective: Decide — and defend in business language — what gets automated, what stays manual, and what nobody should test at all.
⏱ ≈53 min full lesson · English edition — Español · العربية · বাংলা in translation
Every test is code that must be maintained, debugged, and triaged — FOREVER. A suite is a portfolio, and portfolios are managed, not accumulated. AUTOMATE when: it runs often, the failure it catches is costly, the behavior is stable, and a machine judges it as well as a human (B-01's rule, now with a budget).
Keep MANUAL when the value is human judgment (exploration, usability feel, visual taste), the surface changes faster than assertions stabilize, or the check runs twice ever. And TEST NOT AT ALL — low-traffic, low-risk, easily-reverted — and SAY SO: an explicit not-covered list with reasons.
Coverage honesty is what makes the covered list believable. A team claiming “we test everything” is believed about nothing. The uncovered list, stated, is a decision; unstated, it's a production surprise with a date.
Rank candidate areas by (probability of breaking) × (cost when broken, undetected). Money paths, auth, data-loss surfaces, anything under active development score high. Review quarterly (P-03 supplies evidence) — risk maps move, and last year's portfolio quietly insures the wrong house.
COST of a test = build + maintenance per change + lifetime triage. VALUE = failures caught × production cost of those failures (support, refunds, churn) — estimable honestly in ranges, never precisely. Watch: maintenance hours per release; % of failures that are test-caused; escaped defects in “covered” areas. When test-caused failures exceed product-caused ones for a quarter, the PORTFOLIO is the defect.
“Automate the whole manual regression pack” is the classic bad brief — it automates yesterday's checks at maximum cost. Use the pack as a RISK MAP instead (it shows what humans feared), select by the ranking, redesign for automatability, keep a named manual residue on purpose.
Strategy set. Next: traceability — one ID from requirement to result.