TOPIC 14/5212 MINNOT STARTED

Technical debt and testing

Old shortcuts in code and tests slow every release. Learn to see the interest, argue for clean-up time, and retest after a clean-up.

L1–L4 are part of the Pro pass

L0 Explain simply

Analogy: a credit-card balance. You buy something with the card now and pay later. If you pay at once, it costs little. If you pay only the minimum, interest grows. Soon the interest eats a large part of your monthly money.

Daily List is a to-do list app. Last year Leo, the developer, took a shortcut so that reminders could ship on time. It worked. Now every change near reminders is slow, and Tom, the tester, needs more time to check them.

That shortcut is . The extra time Tom and Leo spend each sprint is the interest. Nina, the product owner, only sees slow progress. Mei, the test lead, shows her where the time goes.

The picture has a limit. A bank sends a bill. Code sends no bill, so someone must make the cost visible. Also, some debt is a fair choice, like a loan for a house.

(SYNTHETIC / TRAINING ONLY: Daily List and every person named in this lesson are invented.)

PICTURE IT

The picture is the one the lesson above opens with. The table below shows how each part of it matches the software.

THE REAL JOB Seeing the cost of old shortcuts and asking for a small, steady clean-up.

  1. Name the shortcut
  2. See the interest
  3. Ask for a slice
  4. Check before and after
Pay more than the minimum

HOW THE PICTURE MAPS

How each part of the picture matches the software
In the pictureIn the software
The card balanceThe technical debt
The interest on the balanceThe extra effort paid on each change
Paying more than the minimumA clean-up slice in each sprint
Checking the statement before and afterRunning the same checks before and after refactoring

WHERE THIS PICTURE STOPS

  • A bank sends a bill. Code sends none, so someone must make the cost visible.
  • Some debt is a fair choice, like a house loan. Not every shortcut is a fault.
  • The picture says nothing about how to count the cost. Teams use rough signs.

HOOK

Pay more than the minimum

REMEMBER IT THIS WAY

A story beat: one picture-line that carries the order or the cause.

Remember the day Leo took a shortcut so reminders could ship on time. It worked, and every change near reminders has been slow since.

What each part of the trick stands for
In the trickWhat it stands for
The shortcuttechnical debt
Every change is slowThe extra time Tom and Leo spend each sprint

Some debt is a fair choice, like a loan for a house, so a shortcut is not always a mistake.

TELL A FRIEND

Debt is a card balance. The interest comes back each time the area changes, and a small steady payment is the fix.

OFTEN MIXED UP WITH Maintainability and testability. The maintainability lesson names debt in two sentences. This lesson shows how a tester sees it, asks for clean-up and retests.

PRACTISE AND KEEP

Sources for this topic — 5 sources
  1. Market practice

    Measuring and identifying code-level technical debt: a practical guide (SonarSource) ↗ — SonarSource · A practical guide to measuring and identifying code-level technical debt (registry entry from an earlier batch; not re-opened here)

    Per the search excerpt, tools estimate technical debt from complexity, duplication and rule breaks. Thresholds differ between sources. Practitioner guidance, not a standard. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

  2. Market practice

    Metaphors and the term technical debt (techdebtpolicy.com) ↗ — techdebtpolicy.com · The debt metaphor comes from a 1992 experience report on the WyCash system by Ward Cunningham (search excerpt, page not opened)

    Says Ward Cunningham used the debt metaphor in a 1992 experience report on the WyCash system. Secondary; the report itself was not opened. Practitioner guidance, not a standard. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

  3. Market practice

    Technical Debt Quadrants (Scalac blog, a write-up of Martin Fowler's quadrant) ↗ — Scalac · Fowler's quadrant sorts debt as deliberate or inadvertent and as prudent or reckless (search excerpt, page not opened)

    Describes the four quadrants of deliberate or inadvertent and prudent or reckless technical debt. Secondary write-up; the primary page on Martin Fowler's site was not returned by the search. Practitioner guidance, not a standard. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

  4. Market practice

    Technical debt vs test debt (CloudQA) ↗ — CloudQA · Brittle tests and manual regression work make test debt, and test debt makes developers wary of refactoring (search excerpt, page not opened)

    Says brittle tests and manual regression work make test debt and that test debt makes developers wary of refactoring. Vendor blog; its figures are not used. Practitioner guidance, not a standard. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

  5. Market practice

    Heuristics of software testability, version 2.2 (James Bach, Satisfice; copy on Scribd) ↗ — Satisfice, Inc. (copy hosted on Scribd) · Testability is described in five dimensions: project, value, subjective, intrinsic and epistemic (search excerpt, page not opened)

    Per the search excerpt, practical testability has five parts: project, value, subjective, intrinsic and epistemic. Observability and controllability sit under intrinsic. The original is a Satisfice document; only a copy and excerpts were seen. Practitioner guidance, not a standard. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Version: Version 2.2, 2013. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

Deepest material on this page: L4 — Standards & sources. Where a topic stops short of implementation depth, that is a deliberate coverage decision, not an oversight — see coverage.