FOUNDATIONSCHAPTER 01

Why quality engineering exists

Developers check that the code does what they meant; someone has to ask what it does that nobody meant, and own the evidence that a release is safe

35 MINQA AND QUALITY ENGINEERINGUPDATED 2026-11-05
PREDICT

A team's unit test coverage rises from 60% to 85% over two quarters. Over the same period, the number of bugs customers report rises too. What is the most likely explanation?

Quality engineering, QA, testing: the names vary and the argument about which one is right is a chapter of its own. The job underneath them is the same. Someone in the organisation is responsible for knowing how the product fails before customers find out, for telling the people who can fix it in a way they act on, and for saying whether a release is safe to ship with evidence rather than hope.

This chapter explains why that job exists even in teams where every developer writes tests, what a quality engineer owns and does not own, where practitioners disagree, and what the week looks like at the first rung of the ladder. It ends with an honest account of the trade, for someone deciding. The rest of the track is about doing the job; this chapter is about whether you want it.

The gap developers cannot close alone

Start with the strongest version of the objection. Developers know the code best. They write unit tests, integration tests, and increasingly end-to-end tests. Google’s Software Engineering at Google, in chapter 11, describes a culture where engineers own the testing of their own code, and argues that sharing test work across all engineers is the only way to keep pace. Why would anyone need a separate role?

Because there are three gaps that developer-written tests do not close, however good the developers are.

The imagination gap. A developer writes code against a mental model of what it should do. The tests they write afterwards come from the same model. If the model is missing a case, an expired card retried after a timeout, a message edited while it is being delivered, a currency with no minor unit, then the code and the tests are both missing it, and they agree with each other perfectly. Kaner, Bach and Pettichord put the point bluntly in Lessons Learned in Software Testing: the tester’s value is in thinking differently from the people who built the thing. A second mind with a different model finds what the first mind could not.

The checking gap. James Bach and Michael Bolton draw a line that every quality engineer should be able to state from memory. Checking is the mechanistic process of verifying propositions about the product: given this input, assert that output. A machine can do it, and should. Testing is the process of evaluating a product by learning about it through experiencing, exploring and experimenting. Checks are part of testing, the part that can be automated. A test suite is a large collection of checks, and a green pipeline tells you that every proposition someone thought to write down still holds. It says nothing about the propositions nobody wrote.

CrowdStrike’s public root-cause analysis of the July 2024 Channel File 291 outage is a clear, citable example of the gap. A new template type defined 21 input fields while the code feeding it supplied 20. The automated and manual tests for the template, including a static set of twelve test cases, used a wildcard for the 21st field, so every check passed. The first production content to use a real value in that field caused an out-of-bounds read and crashed Windows machines worldwide. The checks were real and they passed. Nobody had asked what happens when the 21st field is used.

The incentive gap. On the day of a release, everyone on the team owns the deadline. The product manager has promised a date, the engineers want to finish, the manager wants the quarter’s commitment met. These are reasonable people with reasonable incentives, and none of those incentives point towards “stop and look harder”. Someone has to own the other question: is this safe to ship, and what is the evidence? If nobody’s job is that question, it gets answered by default, and the default is yes.

These three gaps are why the role exists. It is not that developers cannot test. It is that testing well is a distinct skill, that the author is the worst-placed person to imagine how their own work fails, and that the organisation needs someone whose judgement is not bent by the deadline.

The model: quality is a risk you manage, not a property you add

A useful way to think about the job is that software quality is not a phase or a department. It is a set of risks: that the product does the wrong thing, does the right thing badly, fails under load, loses data, breaks for one browser, charges twice. Every team carries these risks. Quality engineering is the practice of making them visible, deciding which ones matter most, and arranging for evidence that they are under control.

That framing has three consequences.

Complete testing is impossible, so selection is the skill. Cem Kaner’s column “The Impossibility of Complete Testing” makes the arithmetic plain: the combinations of inputs, paths, timings and environments in any real program outrun any test budget. You will always test a tiny fraction of what could be tested. The craft is choosing which fraction, and the choice is driven by risk: what would hurt most, and what is most likely to break. A tester who tests everything equally is not being thorough; they are refusing to choose.

Quality is owned by the whole team; the evidence is owned by someone. Developers own the correctness of their code and the checks that protect it. Product owns what the product should do. Design owns usability. The quality engineer owns the picture: what the risks are, what testing covers them, what escaped and why, and what the team should change. You do not own quality the way a goalkeeper owns the goal. You own it the way an auditor owns the accounts: you did not produce them, and you are the one who can say whether they hold up.

The escape rate is the honest number. Of all the defects found in a period, what share were found after release, by customers, support or monitoring, rather than before? Teams usually call this the escape rate; older literature calls the complement the defect detection percentage. It is the measure that matters because it counts what quality work exists to prevent. Test counts, coverage percentages and pass rates measure activity. The escape rate measures the result. It has its own failure modes, which the Lead-level chapter on quality metrics covers, but it is where an argument about whether a team needs QA should start.

What a quality engineer owns, and what they do not

Owns Does not own
The risk picture for the product or feature: what could fail, how badly, how likely The correctness of the code; that is the author’s
The test strategy: which risks get which kind of testing, at which level Writing every test; developers write most checks
Exploratory testing of the riskiest areas, with notes that others can read Being the last line of defence that catches everything
Bug reports that get fixed: reproduction, impact, severity Deciding priority alone; that is shared with product and engineering
The escape analysis: what got through, and what would have caught it Blame for escapes; an escape is a gap in the system, not a person
A go or no-go recommendation with evidence The release decision itself, in most organisations; QA advises, the owner decides
Coaching developers in test design and the automation that keeps checks honest The deadline

Two lines in that table cause most of the friction you will meet. The first is “last line of defence”. Teams that treat QA as the gate at the end of the pipeline learn, over a year or two, to test less themselves, because someone else will catch it. Elisabeth Hendrickson named this pattern in her essay “Better Testing, Worse Quality?”: strengthening the separate test function can weaken the developers’ own testing, and overall quality falls. The second is the release decision. A quality engineer who owns the veto becomes the person everyone negotiates with on release day. One who owns the evidence becomes the person everyone wants in the room early.

Where practitioners disagree

The field has schools, and you will be asked which you belong to.

The context-driven school. Kaner, Bach and Pettichord, with the principles published at context-driven-testing.com, hold that the value of any practice depends on its context, that there are good practices in context but no best practices, and that good testing is a challenging intellectual process. Testing is skilled, exploratory, human work; scripts and metrics serve it rather than define it. Bach and Bolton’s Rapid Software Testing is the most developed form.

The standards and certification school. ISTQB, the international testing qualifications board, publishes a syllabus and a glossary that many employers, especially in enterprise, regulated and outsourced testing, use as the shared vocabulary. Its strength is a common language and a floor of knowledge. Its critics, the context-driven school loudest among them, argue that it teaches testing as document production. Hiring managers mostly treat the Foundation certificate as a floor rather than a signal.

The whole-team agile school. Lisa Crispin and Janet Gregory’s Agile Testing puts the tester inside the delivery team, working with developers from the first conversation about a story rather than receiving builds at the end. Atlassian calls its variant quality assistance, in a 2013 post by its QA team: the quality engineer coaches developers to test well rather than testing for them. How a Head of Quality chooses between these models is in building a quality org.

The developer-owned school. Google’s chapter 11 describes a culture where engineers write and run their own tests, built from a crisis: by 2005, the chapter says, more than 80% of production pushes of the Google Web Server contained user-affecting bugs that had to be rolled back, and requiring tests for every change halved emergency pushes within a year. Several large companies moved in the 2010s to merge separate test roles into engineering. In this school the specialist role does not vanish; it moves towards infrastructure, tooling and the hardest test problems.

The honest summary is that the schools disagree less than they claim. All of them agree that developers should check their own code, that some testing needs a different mind, and that the question of release safety needs an owner. They disagree about where that mind sits, how much it should be automated, and how much process should surround it. The next chapter, on testing philosophies, takes the pyramid, the trophy and risk-based testing in turn.

Is this the job for you?

Here is the trade, for someone deciding.

You will spend your days looking for what is wrong with other people’s work. Done well, this is collaborative and the developers thank you. Done badly, or in a team that has not learned to value it, it feels like being the person who brings bad news. You need to be able to deliver bad news without enjoying it and without apologising for it.

You will rarely get credit for what did not happen. The incident that never occurred because you found the double-charge path in a session on Tuesday leaves no trace. You need to be satisfied by the find itself, and you need the discipline to write it down so the evidence exists.

You will have to argue from evidence against a deadline, often with people senior to you. The product manager’s accountability without authority has a mirror image here: you have the evidence and not the authority, and your influence comes from how clearly you can say what you found and what it would cost to ship it.

In return, you get to understand the product better than almost anyone. Testers learn the system from the outside, the way customers do, and from the inside, the way engineers do. That combination is rare, and it is why good quality engineers move into product, SRE, security and engineering leadership as often as they stay.

Three signs it might suit you: you notice the edge case in a conversation before anyone else does; you enjoy taking things apart to see how they break; you would rather know an uncomfortable fact than not. Three signs it might not: you want your work to be the thing that ships; you find repeating a careful procedure intolerable, because some of the job is that; you need your contribution to be visible to feel it counted.

The ladder, in this track’s titles: Test Analyst, QA Analyst or Junior QA Engineer at Foundations, executing and writing tests for features others scoped; QA Engineer, SDET or Test Engineer at Practitioner, owning a team’s strategy and automation; Senior QA Engineer, QA Lead or Quality Engineering Lead setting practice across teams; Head of Quality or Director of Quality Engineering owning the operating model. SDET roles want coding ability close to a developer’s; analyst roles want the testing mind first and teach the code.

Day to day

A Foundations-level quality engineer, usually titled QA Analyst or Junior QA Engineer, sits in one delivery team and works on features someone else has scoped. The chapter on a QA engineer’s week, later in this module, goes into the calendar; here is the outline.

Every day. The team’s stand-up, listening for what is about to be ready to test and what has changed under you. The overnight results: which automated checks failed, and whether each failure is a real bug, a broken test or flake. An hour or two testing whatever was merged yesterday, with notes. Answering developers’ “can you look at this before I merge?” the same day, because a question that waits blocks a branch.

Every week. Refinement or planning, where the next stories are discussed; your job there is to ask “how would this fail?” before a line is written, and to write the acceptance criteria down. Two or three focused exploratory sessions of sixty to ninety minutes on the riskiest work, each with a charter, a one-line mission, and notes. Bug triage with the product manager and the engineering lead, where new defects get severity and priority. A review of anything that escaped: what it was, where it could have been caught, and the check or session that would catch the next one.

Every release. Regression on the areas the change touched, a pass through the release checklist, and a written go or no-go recommendation with the evidence: what was tested, what was not, what is known and open. On teams that deploy continuously this is lighter and more frequent; on teams with app-store or quarterly releases it is a meeting with a date.

Every quarter. A look at the escape trend with your lead, and one change to the team’s practice it suggests: a new check in the pipeline, a story-kick-off habit, a test environment fix.

The meetings that matter are refinement, triage and the release decision, because those are where risk is either surfaced or ignored. The habit that matters is writing: session notes, bug reports and escape analyses are the evidence the whole role rests on. A quality engineer whose findings live only in conversation has no evidence when the argument comes.

BY ORG SIZE
STARTUPunder 30 people

There is no QA and there probably should not be a full-time hire yet. Quality is the founders’ and engineers’ job, and the risk is not missing testers but missing ownership: nobody tracks what customers find, so nobody notices the pattern. The fix is a one-page quality charter, an engineer who owns the escape log on rotation, and an hour of exploratory testing on the riskiest change before each release. The first QA hire arrives when the escape rate stays high after that, or when money or regulated data raises the cost of each escape.

SCALE-UP30 to 300

The function is being built, often by one or two people across several teams, and the danger is becoming the release gate everyone throws work over. A good first quality engineer spends the first quarter on evidence: the escape log, the flaky checks, the riskiest flows, and a test strategy per team. They coach before they test, so that developers’ own testing gets better as the company grows. The fight at this size is about whether QA is embedded in teams or a separate pool, and it is worth having openly.

ENTERPRISE300 and up

The function exists, with its own ladder, managers and perhaps an offshore or outsourced testing partner. The problems are scale and politics: duplicated regression suites nobody dares delete, release gates that add days, metrics that reward bug counts, and auditors who need proof that testing happened. A quality engineer here spends more time on evidence for others, test reports and traceability, and must work hard to keep exploratory testing alive inside a process built for scripts. Influence runs through the release board and the engineering leadership.

ARTEFACT Write a quality charter ~45 MIN
YOU PRODUCEOne-page quality charter

Template

# Quality charter: <team or product>
Owner · Date · Review by: <date>

## Why this exists
<Two sentences: what is going wrong or at risk, with one number.>

## What quality means here, in priority order
1. <attribute, e.g. money moves exactly once>
2. <attribute>
3. <attribute>

## Where we are
Escape rate: <found after release / all found, period, source>
Recent escapes: <two or three, one line each, with where they could have been caught>

## Who owns what
- Developers: <checks for their changes; what "tested" means before merge>
- Exploratory testing: <who, how often, on what>
- Escape log and review: <who, cadence>
- Release call: <who decides; who advises with evidence>

## Riskiest areas and what they get
| Area | Why risky | Extra testing |
|---|---|---|

## Release bar
- <condition that must hold for go>
- <condition>

## What we will not do
- <e.g. a coverage percentage target> — <why>

## What we watch
<one measure, current value, target, review date>
WORKED EXAMPLE

Quayside is a fictional card-payments start-up: 25 people, eight engineers in two squads, processing payments for 600 small online merchants. It has no QA. An engineer volunteered to write this after a bad quarter.

Why this exists. Last quarter 14 of our 31 known bugs were found by merchants or monitoring, an escape rate of 45% (from the bug tracker, labels found-by). Two of the 14 moved money incorrectly.

What quality means here. 1. Money moves exactly once and the ledger balances. 2. Merchants can see why a payout is what it is. 3. The checkout page works on the browsers and devices our merchants’ shoppers use.

Recent escapes. Duplicate charge when the acquirer timed out and our client retried: catchable by a test of the retry path against the idempotency key. Payout off by one day across a daylight-saving change: catchable by a date-boundary session.

Who owns what. Developers: unit and integration checks for every change, reviewed in the pull request. Exploratory testing: a rotating engineer, ninety minutes per release, on the riskiest change, with written notes. Escape log: the same rotation, reviewed every two weeks in retro. Release call: the squad’s tech lead decides; the rotating tester advises in writing.

Riskiest areas. Retries and timeouts on charges: a session per release plus a fault-injection check. Refunds and partial captures: a reconciliation check against the ledger. Payout scheduling: date-boundary cases in the suite.

Release bar. No open defect that moves money incorrectly. Reconciliation check green. Exploratory notes for the riskiest change filed.

Will not do. A coverage target: we are at 82% and still escaping. A manual regression gate before every deploy.

Watch. Escape rate, 45% now, below 25% by end of next quarter, reviewed on 1 March.

Now you

You are a senior engineer at Brindle, a fictional team-chat app: 45 people, three product squads, web, desktop and mobile clients. Brindle has no QA. Over the last two quarters, 52 bugs were logged; 23 came from customers or the support team. Nine of those were in message sync between mobile and desktop, three lost messages, and the mobile app takes up to two days to get a fix through app-store review, so mobile escapes stay live longer. The CTO says hiring QA would slow the team down and that the squads already test their own code; she has agreed to read a one-page charter. The squads’ leads disagree with each other about whether manual testing is worth anyone’s time. Write the quality charter for Brindle. Use the numbers above, decide who owns exploratory testing without a QA hire, and say what the release bar is for mobile given that a bad release cannot be fixed the same day.

Self-check

DECIDE

You join Quayside, a card-payments company that has grown to 40 people, as its first QA engineer. In your first two weeks you pull the tracker: last quarter, 17 of 38 known bugs were found by merchants or monitoring after release, including two that moved money incorrectly. Unit coverage is 84%. The engineering lead tells you, kindly, that the developers test their own code and they hired you for automation of end-to-end flows. What do you do first?

READING
  1. BOOK
    Lessons Learned in Software Testing: A Context-Driven Approach Cem Kaner, James Bach, Bret Pettichord, 2001

    Nearly three hundred short lessons from three practitioners who founded the context-driven school. The best single account of what a tester is for and how the role goes wrong. Read: Chapters 1 and 2, the role of the tester and thinking like a tester; then the chapter on interacting with programmers.

  2. BOOK
    Software Engineering at Google, chapter 11: Testing Overview Titus Winters, Tom Manshreck, Hyrum Wright (eds.); chapter by Adam Bender, 2020

    The strongest case for developer-owned testing, from a company that built it after a crisis. Read it to understand the argument you will meet, and notice what it still leaves to exploratory testing. Read: Chapter 11, free online; read the Google Web Server story and the section on test sizes.

  3. POST
    Testing and Checking Refined James Bach and Michael Bolton

    The precise definitions of testing and checking that this chapter uses, and the reasoning behind them. The distinction is the foundation of how you explain the role to engineers.

  4. POST
    Testing vs. Checking Michael Bolton, 2009

    The original, shorter version of the distinction, written for a general audience. Easier to share with a team than the refined post, and the comments show the argument it started.

  5. DOC
    The Impossibility of Complete Testing Cem Kaner

    Why you can never test everything, worked through with examples, and what that means for a tester's responsibility. The basis for treating test selection as a risk decision.

  6. DOC
    The Context-Driven School: seven basic principles Cem Kaner and James Bach

    One page stating the principles of the school most testing craft writing comes from. Read it to know what you are agreeing or disagreeing with.

  7. DOC
    Channel File 291 Incident: Root Cause Analysis CrowdStrike, 2024

    A public root-cause analysis in which every check passed and the untested case shipped. Read the findings on template type testing for a clear lesson in checking versus testing.

All companies and people in these examples are fictional. Any resemblance to a real business or person is unintended.

RECALL CARDS Tap to flip. They join your review deck when you mark the lesson complete.
NEXT: Testing philosophies: pyramid, trophy, exploratory, risk-based →