Video in progress
Between a separate QA team and a "developers write the tests" model, how do you structure the organization?
The owner of automated tests is the team that wrote the code, otherwise feedback is delayed and the tests drift away from the code. QA engineers focus on test strategy, risk analysis, exploratory testing and test infrastructure. They aren't "manual checkers", they're quality coaches.
📖 Answer
This is how the old model goes: a developer "throws the code over to QA", QA finds a bug a week later, the context is lost, and the fix is expensive. The automation lives in the QA team's separate repo, where it breaks when the UI changes and nobody hurries to fix it.
The opposite extreme is dangerous too: "we don't need QA, developers do it all". Developers test the "happy path" of their own code; how a user might get confused, combinations of roles, pressing the payment page button twice: a different way of thinking often finds these.
The model I set up:
- Ownership inside the team. Unit, integration and contract tests are part of the feature PR. They're in the definition of done. In review, tests are looked at like code.
- Quality engineers. One per 2-3 teams. At the start of a feature, a risk analysis ("what could break, at which layer do we test it"), exploratory sessions, maintaining the e2e smoke set, and test infrastructure (data builders, environments).
- Platform. CI, test environments, flaky analysis, metrics: centralized.
The transition is painful: manual QA people need a plan for automation and domain training, and developers need an open acknowledgment of "time for testing" in planning. If test time isn't counted in sprint estimates, the model stays on paper.
The sign of success is where bugs are found. If the model works, most are found in the PR, fewer on staging, and the fewest in prod.
Sign up to mark studied questions and save your progress.