HEADCHAPTER 17

Building a quality org: embedded vs central

Decide who owns quality before you decide how many testers: the operating models, the ratios and where they come from, the reporting line, and how to hire, level and budget a quality function

45 MINQA AND QUALITY ENGINEERINGUPDATED 2026-11-05
PREDICT

In 2013 Atlassian's Jira team had 78 developers and team leads supported by six QA engineers, roughly one to thirteen, and shipped stories to production without a separate manual test phase. What made that ratio work?

You are the person who decides what a quality function is for, how it is organised, who it reports to, how many people it has, and how they are hired, levelled and paid. Below Head level, the QA chapters in this track teach the work. This one teaches the organisation that makes the work possible, and the arguments you will have with your CTO, your engineering managers and finance about it.

The central claim of the chapter: the operating model comes before the ratio. Decide who owns quality, then decide what specialists are for, then count. A ratio chosen first will be wrong in both directions: too many testers for teams that already test well, too few for the team that moves money.

The question underneath: who owns quality

Every quality org is an answer to one question. When a bug reaches a customer, whose job was it to stop it?

If the answer is “QA”, you have a gatekeeper model. Developers build, testers test, and the release goes through a test phase that QA signs off. It is easy to explain and easy to staff. It also creates what Atlassian’s QA team, in the 2013 post in the reading, calls a wall: developers throw code over it, testers throw bugs back, and quality becomes a negotiation between two groups rather than a property of the work. The test phase grows with every release, because nothing upstream gets better, and the testers get blamed for every escape.

If the answer is “the team that wrote it”, you have an ownership model. Developers test their own work; specialists exist to make them better at it, to build the tools and environments that make testing cheap, and to test where a specialist eye is worth the cost. This is the model Google describes, the one Atlassian calls quality assistance, and the one the whole-team approach in Crispin and Gregory’s More Agile Testing argues for. It is harder to set up, because it needs developers who can test and managers who hold them to it.

Most real organisations are somewhere between, and the honest answer for yours may differ by team. A payouts team that moves customers’ wages may want a specialist who tests independently; a marketing-site team may need nobody. The operating model is the set of choices that makes the answer explicit, team by team. Why quality engineering exists argues for the function; this chapter is about its shape.

The four models

Model Where testers sit Who they report to Works when Fails when
Central QA department In a test team, separate from delivery Head of Quality Release cadence is slow, the product is regulated, independence is required, developers cannot yet test Cadence speeds up; the test phase becomes the bottleneck and the wall forms
Embedded QA One per team, inside the team The team’s engineering manager Teams are stable and each has enough risk to keep a tester busy Practice diverges team by team; testers have no career path and no peer who reviews their work
Embedded, central line (matrix) Inside the team day to day A quality lead or chapter lead You want team knowledge and a shared craft Two managers give conflicting priorities; nobody resolves it
Quality assistance or enablement Coaches across several teams, plus a platform team for test infrastructure Head of Quality Developers already test competently and want to get better Developers do not test, and the coaches end up testing anyway at a ratio that cannot cover it

The third model has two public descriptions worth reading. James Whittaker’s 2011 post on how Google tested software says there was no separate testing organisation: test lived inside a focus area called Engineering Productivity, which had a tools team, a services team, and engineers “loaned out” to product teams. Those testers reported to Engineering Productivity managers but sat with Search or Chrome, went to their planning, and shared their ship bonuses. The separate line gave them a forum to share ideas across products; the cost was that product teams could not lean on them too heavily, which Whittaker presents as the point: “at Google it’s the product teams that own quality, not testers.”

Spotify’s 2012 paper by Henrik Kniberg and Anders Ivarsson describes the same matrix with different names. A chapter is the people with the same skill inside a tribe, “for example the testing chapter”, and the chapter lead is their line manager while also working in a squad. A guild, such as the tester guild, cuts across the whole company. The problem it solves is named directly: the tester in squad A wrestles with a problem the tester in squad B solved last week.

The fourth model is Atlassian’s. Its QA team, by its 2013 posts, held that testing well “is not some magical genetic trait, but a skill that can be taught and learned”, made developers responsible for testing their own work, and turned QA engineers into teachers: planning feedback on risky stories, testing notes written before development listing the bugs to expect, and a QA demo where the developer shows their testing to a QA engineer as a discussion between equals. Penny Wyatt reported that only two to four per cent of Jira stories failed a second round of testing by another developer.

Ratios, and where they come from

The ratio is the number everyone will ask for and the one with the weakest evidence. There is no industry standard; the surveys that publish one rarely say how they sampled. Here is what you can cite, and what you cannot.

Published data points. Atlassian’s Jira team in 2013: six QA engineers to 78 developers and team leads, about one to thirteen, under quality assistance. Google in 2011: Whittaker gives no number, only a direction, that developers outnumber testers and “product teams should be proud of a high ratio”. Treat both as descriptions of one company at one time, with mature developer testing behind them.

Rules of thumb. The bands below are this chapter’s rule of thumb from how the models work, not survey data. Label them as such in any document you write.

Model Rule-of-thumb ratio, specialists to developers What drives it up or down
Central manual QA 1 to 3–5 Manual regression scales with features, not people
Embedded QA or SDET 1 per team, roughly 1 to 5–8 Team size; a tester shared across two teams is a central tester with a long commute
Quality assistance 1 to 10–15 How well developers already test; Atlassian’s 1 to 13 is the anchor
Test platform team sized as a product team, often 4–8 people regardless of org size Number of products and environments, not number of developers

Two corrections to any ratio. First, weight by risk, not headcount. A team that moves money, handles medical or personal data, or ships to devices that cannot be patched needs more specialist attention than its size suggests, often an embedded tester even inside an assistance model. Testing a payout file is a different job from testing a settings page, and the chapter on testing money and regulated systems covers why. Second, check against your own outcomes. If escapes and incidents per release are falling and release cadence is rising, the ratio is working; if escapes are rising, the ratio is not the first thing to change. The quality metrics chapter in the Lead module covers how to measure that without gaming it.

The reporting line

Who the Head of Quality reports to decides what the function is allowed to say.

Report to the CTO or VP of Engineering. This is the default. Quality is an engineering property, and the person accountable for it sits with the people who change the code. It gives you a seat in the engineering leadership meeting, where the trade between speed and risk is made.

Do not report to the delivery or programme office. A quality function that reports to the people who own the deadline will, under pressure, be asked to say yes. Sign-off, covered in release management and sign-off, only means something if the person signing can say no and be heard.

Regulated exceptions. Some regimes expect independent testing: a validation team in medical devices, or a control-testing function in a bank’s second line. That team may report outside engineering, to risk or compliance, and that is correct for its narrow purpose. Keep it separate from the engineering quality function rather than merging them; one serves an auditor, the other serves the teams.

For individual testers, the matrix above is the usual answer once you have more than a handful: day-to-day priorities from the team’s engineering manager, line management, levelling and pay from a quality lead. Write down who decides what, in particular who decides when a tester’s team wants them on a deadline and the quality lead wants them on the regression suite. If nobody has written it down, the louder manager wins.

Hiring: roles and the interview loop

A quality org at scale has four distinct roles, and hiring for “QA” without saying which one fills the team with the wrong mix.

  • QA engineer, exploratory and domain-heavy. Finds what automation misses, writes charters, knows the domain. The craft is in exploratory testing and charters.
  • SDET or quality engineer. Writes and owns automation and test frameworks, codes close to a developer’s standard. See test automation and the SDET.
  • Quality coach. Teaches developers to test, runs kickoffs and demos, changes practice across teams. Needs credibility with engineers more than tool depth.
  • Test infrastructure engineer. Builds environments, test data, device farms and CI tooling. Often sits in a platform team and may not have a QA title at all.

The first hire in a company with none is usually an SDET who can also explore, because they can build the pipeline and find the bugs the pipeline misses. The first coach comes when developers already write tests and the bottleneck is how good those tests are.

The interview loop works when each round owns named competencies and is scored against written anchors before the debrief.

Round Tests Format
Practical exploration Finding and reporting important bugs 45 minutes on a real, seeded build; score the bugs found and the reports written
Automation Code quality and test design Write or review a test against a small service; score what they choose not to test
Scenario Risk judgement A P1 found an hour before release, or a team with no tests; score the questions asked
Collaboration Influence without authority How they handled a developer who disagreed; for coaches, a short teaching exercise

Leave out puzzles and certification trivia. An ISTQB certificate tells you someone learned the vocabulary, which is a floor rather than a signal. The PM equivalent covers structured interviewing in more depth and the same principles apply.

Levelling: a QA and SDET ladder

Without a ladder, testers are promoted for tenure or for becoming managers, and your best individual contributors leave for engineering. Use the track’s four levels and write each as observable behaviour.

Level Titles Scope Observable behaviour
Foundations Test Analyst, QA Analyst, Junior QA Engineer Features others scoped Writes reports that get fixed; executes and extends test cases; asks about risk
Practitioner QA Engineer, SDET, Test Engineer One team, a quarter Owns the team’s test strategy and most of its automation; holds a flake budget; signs off releases
Lead Senior QA Engineer, QA Lead, Quality Engineering Lead Several teams, a year Sets practice across teams; owns quality metrics; coaches; developers test better because of them
Head Head of Quality, Director of Quality Engineering The function, years Owns the model, hiring, budget and culture; judged on incidents, audits and engineer ownership

Two decisions to make explicitly. Pay bands: SDETs and quality engineers belong on the engineering bands at the same level, because they are hired for engineering skill and can leave for an engineering job. A lower QA band is a slow leak of your best people. Dual track: a Lead-level tester should be able to reach Staff-equivalent without managing anyone. Write a Principal Quality Engineer level or map to the engineering IC ladder, and say which.

Budget

Your budget is mostly people, and the argument for it is mostly about cost avoided, which is hard to prove. Make it concrete.

  • Headcount, by role and by team, tied to the operating model rather than to a ratio.
  • Environments and tooling: CI minutes, device clouds for mobile, test data tooling, a test management system if regulators need traceability. These are often in engineering’s budget; agree whose they are.
  • Contractors and crowdtesting: useful for a burst (a launch, a new device matrix, localisation), expensive as a permanent substitute for developer testing.
  • The case: escapes per release, incident hours, rollback frequency and audit findings, before and after. Put a cost on an incident hour from your own data. Avoid claims like “a bug found in production costs a hundred times more”; the figure is widely repeated and poorly sourced, and a CFO who checks will discount the rest of your case.

Where practitioners disagree

Should there be testers at all? Some companies have none and do well, because developers test, deploys are small, and rollback is cheap. Others tried removing testers and saw escapes rise. The deciding factors are the cost of a defect in production and how good developer testing already is. The Google story in the Why is evidence that developer ownership works; it is not evidence that specialists are unnecessary, and Google’s own book describes a Test Engineer role.

Independence or embedding? Context-driven testers argue that a tester’s value comes partly from not sharing the team’s assumptions, which embedding erodes. Whole-team advocates argue that a tester outside the team finds bugs too late to matter. The matrix is a compromise, and rotation keeps the eyes fresh: Whittaker describes Google testers who stayed on Chrome for years beside others who joined for 18 months and cycled off.

Coaches who do not test. A quality coach who stops testing loses credibility with developers within a year. Keep coaches hands-on for some of their time.

Day to day

Weekly. One-to-ones with your quality leads, thirty minutes each, on people first and escapes second. A chapter or guild meeting, an hour, where testers bring a problem and someone else in the room has solved it. Your seat in the engineering leadership meeting, where you report escapes and incidents in two minutes and spend the rest on the trade-offs being made. Two or three interview debriefs during a hiring push.

Fortnightly or monthly. Read every incident review with a quality angle and ask one question: which layer of testing should have caught this, and why did it not? A monthly quality review with the VP of Engineering, thirty minutes, on the metrics and one deep dive into a single team.

Quarterly. Revisit the operating model team by team: which teams need more specialist attention, which can move to assistance, which embedded tester should rotate. Submit the headcount plan with the model attached. Run calibration for promotions with the engineering managers, using the ladder.

Yearly. Review the ladder and pay bands against the market and against engineering. Write down what changed in the model and why, so your successor can see the reasoning.

In a typical week the work is mostly conversations: about a third with your own leads, a third with engineering managers, and the rest split between hiring, incidents and the leadership meeting. If most of your week is testing or reviewing test cases, you are doing a lead’s job and nobody is doing yours.

BY ORG SIZE
STARTUPunder 30 people

There is no quality function and there should not be one yet. Developers test their own code, and the founder or CTO owns quality by default. Your job, if you are the first quality hire, is an SDET’s: build the CI pipeline with fast tests, write a one-page quality charter, and test by hand the two or three flows that would end the company if broken, such as payouts. Do not build a test phase. Do write down who owns quality, so that when the company doubles nobody assumes it was you.

SCALE-UP30 to 300

This is where the model gets chosen, usually by accident. Teams multiply faster than you can hire, so a pure embedded model will not keep up. Pick explicitly: embedded specialists for the highest-risk teams, coaching for the rest, and one or two people building shared test infrastructure. Write the ladder and the interview loop now, because you will hire most of the function in the next two years. Put a written agreement in place with each engineering manager about who decides an embedded tester’s priorities.

ENTERPRISE300 and up

The function exists, often in several forms at once, inherited from acquisitions and reorganisations. Your problem is coherence and politics: one business unit has a central test department of forty, another has none, and a regulated product has an independent validation team that reports to compliance. Do not force one model. Write the model per product line, with the reasoning, and converge where the reasoning is the same. Expect your budget to be scrutinised every year; the incident and audit record is your case.

ARTEFACT Write a QA operating model by company stage ~75 MIN
YOU PRODUCEQA operating model with ratios

Template

# Quality operating model: <company>
Author · Date · Review date · Approved by: <CTO / VP Eng>

## Ownership statement
<One sentence: who owns quality, and what the quality function is for.>

## Context
Engineers: <n> · Teams: <n> · Release cadence: <...> · Regulated: <yes/no, which regime>
Current escapes per release: <n> · Incident hours last quarter: <n> · Source: <...>

## Model by team or product line
| Team / line | Risk (H/M/L) and why | Model | Specialists | Change trigger |
|---|---|---|---|---|

## Ratios
| Model | Ratio | Source or "rule of thumb" |
|---|---|---|

## Reporting line
- Head of Quality reports to: <...>
- Individual testers: day-to-day priorities from <...>; line, levelling and pay from <...>
- Conflict rule: <who decides when they disagree>

## Roles and hiring plan
| Role | Now | +12 months | Order of hiring | Interview loop |
|---|---|---|---|---|

## Ladder
| Level | Titles | Scope | Observable behaviour |
|---|---|---|---|
SDET pay bands: <same as engineering at level / other, and why>

## Budget
- Headcount: <...>
- Tooling and environments: <...> (owner: <...>)
- Contractors or crowdtesting: <...> (for: <burst>)
- The case: <escapes, incident hours, audit findings, with cost per incident hour>

## How we will know it works
<Two or three outcome measures with baselines, reviewed quarterly.>

## Next stage
<What changes at the next headcount threshold, and the signal that triggers it.>
WORKED EXAMPLE

Ptarmigan is a fictional payroll and payouts platform: 140 engineers in 16 teams, paying wages for 9,000 employers in two countries, regulated as an e-money institution. Quality today is five testers in a central team running a three-day regression before each fortnightly release.

Ownership. Engineering teams own the quality of what they ship; the quality function makes them good at it and tests independently where a defect moves money.

Context. Escapes: 11 per release on average over the last six releases, from the bug tracker. Incident hours last quarter: 64, of which 41 came from two payout-file defects.

Model by team. Payouts, ledger and tax filings (3 teams, high risk: money and regulator): embedded SDETs, one each, matrixed to the quality lead. Employer onboarding, employee app, reporting (6 teams, medium): quality assistance, one coach across three teams, testing notes and demos. Internal tools and marketing (7 teams, low): developers own it; the coach is available on request.

Ratios. Embedded: one per team, so 1 to about 9 developers (140 engineers across 16 teams), a little above the 5–8 rule of thumb, which the risk on these teams justifies. Assistance: 1 to about 26 developers across three teams, which is above Atlassian’s published 1 to 13 for Jira in 2013, so review after one quarter.

Reporting. Head of Quality to the VP of Engineering. Embedded SDETs take priorities from their engineering manager and line management from the quality lead; payout releases are the one exception to the rule in release management and sign-off that the release owner decides: on the regulated path the quality lead can call a no-go, and only the VP of Engineering can override it, in writing.

Hiring. Three SDETs and two coaches from the current five, retrained; hire one test infrastructure engineer first, for a production-shaped payroll data set.

The case. At £1,800 per incident hour, from finance’s own estimate, the 41 payout-file hours cost about £74,000 last quarter.

Next stage. At 250 engineers, add a second quality lead and split the platform work into its own team.

Now you

You have joined Godwit, a fictional contact-centre messaging platform, as its first Head of Quality. It has 85 engineers in 11 teams, ships continuously, and sells to banks and insurers whose contracts require evidence of testing for message retention and redaction. The quality function is three people: two manual testers in a central team who run a regression pack before the monthly mobile release, and one SDET embedded in the routing team. Developers write unit tests but rarely anything above that; escapes averaged nine a month last quarter, three of them redaction defects found by a customer. The CTO has given you budget for four more hires this year and asked for an operating model by the end of the month. Complication: the engineering manager of the routing team does not want to lose the SDET to a shared pool, and one of the manual testers has asked to move into automation. Write the operating model, with ratios sourced or labelled, a reporting line, and a hiring order for the four roles.

Self-check

DECIDE

You are Head of Quality at Shelduck, a fictional contact-centre messaging platform. One experienced QA engineer covers eight product teams of about six developers each. Two of the teams handle message redaction and retention, which bank customers audit. The other six ship chat widgets, reporting and admin screens. Hiring is frozen for two quarters. The QA engineer is overloaded and has started skipping the redaction teams' releases to keep up with the others. How do you deploy her?

READING
  1. BOOK
    Software Engineering at Google, chapter 11: Testing Overview Titus Winters, Tom Manshreck and Hyrum Wright (eds.), 2020

    The Google Web Server story, Test Certified, Testing on the Toilet and the Beyoncé rule: how a company moved quality ownership to developers. Chapter 14 describes the Test Engineer role that remained. Read: Chapters 11–14: Testing Overview, Unit Testing, Test Doubles, Larger Testing.

  2. POST
    How Google Tests Software, Part One James Whittaker, 2011

    The clearest public description of the matrix model: testers in Engineering Productivity, loaned to product teams, with product teams owning quality. Read it for the reporting-line argument.

  3. POST
    Inside Atlassian: introducing Atlassian QA Andrew Prentice, 2013

    The case for quality assistance over quality assurance: testing is a teachable skill and the wall between testers and developers is the problem.

  4. POST
    Inside Atlassian: the Jira QA process, techniques and tools Penny Wyatt, 2013

    The mechanics behind the model and the six-to-78 ratio: planning feedback, testing notes, QA demos and developer-on-test. The most citable ratio you will find.

  5. DOC
    Scaling Agile @ Spotify with Tribes, Squads, Chapters and Guilds Henrik Kniberg and Anders Ivarsson, 2012

    Where the chapter and guild vocabulary comes from, with the testing chapter as an example. A snapshot of one company, as the authors say; read it for the matrix idea, not as a template.

  6. BOOK
    More Agile Testing: Learning Journeys for the Whole Team Janet Gregory and Lisa Crispin, 2014

    The whole-team argument at organisation scale, with the roles and competencies a quality function needs. Useful when writing the ladder. Read: Ch. 2, organisational culture; ch. 3, roles and competencies; ch. 18, agile testing in the enterprise.

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: Quality culture and influence →