Skip to content

Shift-left accountability

Shift-left is usually sold as testing earlier. That is the easy half, and on its own it is close to useless: a team that moves its test execution earlier without moving anything else has a faster queue in front of the same bottleneck.

The half that changes something is accountability. The person who can prevent a defect is the person who has to answer for it.

Moves left Stays where it is
Who answers for a defect Who decides the strategy
Writing the acceptance criteria Owning the risk model
Writing and maintaining the tests Owning the campaign scope and exit conditions
Deciding the level a check belongs at Owning the tooling and the environments

The left column moves to the team that writes the change. The right column stays with the test manager, and gets bigger rather than smaller — which is the part that gets lost when this is presented as “developers write the tests now”.

The pattern being dismantled is a specific one, and it is worth naming precisely because half-measures reproduce it under a new name.

A feature is written. It is handed to a test team. The test team finds defects, writes them up, and returns them. The author, now three features away, context- switches back. Something is fixed. It is handed back. Repeat.

Every defect in that loop costs two context switches, one write-up, one triage and one re-test, and none of that work exists in the loop where the author finds their own defect thirty seconds after introducing it. The loop is not slow because anyone in it is slow. It is slow because it is a loop.

This is the question the room actually has, and answering it badly is how shift-left initiatives die: if the teams own the tests, the test manager has more to do, not less.

Owns the strategy. Which properties are checked at which level, and the rule against paying twice. See the strategy.

Owns the risk model. What is deliberately not tested, reviewed per release, signed rather than assumed. See risk-based testing.

Owns the campaigns. Scope, entry conditions, exit conditions, and the go/no-go conversation. See campaigns.

Owns the evidence. Run history, flakiness trends, escaped-defect analysis — the numbers that say whether the strategy is working, which no individual team can see from inside its own suite.

Coaches. The specialist skill of the profession — thinking of the case nobody else thought of — is now the scarcest thing in the organisation, and it scales only by being taught. A tester in a refinement session asking “what happens when the field is empty” costs an hour there and saves a release here.

The furthest left a defect can be prevented is before the code exists, in the conversation about what the code should do. A test written from an ambiguous acceptance criterion inherits the ambiguity — it will pass, and the feature will still be wrong.

So the first artefact of shift-left is not a test, it is an acceptance criterion a machine can disagree with. That is what the three amigos, example mapping and BDD are for, and they belong to development practice rather than to testing — see dev-hub.

The tester’s contribution there is not writing Gherkin. It is asking the questions that turn “the user can update their profile” into six rules and four open questions, one of which nobody in the room can answer.

It is a real cost, paid by real people, and pretending otherwise is how the initiative loses the room.

Developers get slower first. Writing your own tests is work that used to happen elsewhere. The payback comes from the loop that disappears, and it takes a quarter or two to be visible in the numbers — which means it has to be visible in the numbers. See the measures in quality-driven development.

Some testers do not want the new job. The specialist who was excellent at finding defects is being asked to become excellent at teaching others to prevent them. That is a different job, not a promotion, and it is honest to say so.

Nobody is a safety net any more. The comfort of “QA will catch it” was partly false, but it was load-bearing. Removing it without giving teams the tools, the environments and the time to catch things themselves does not shift anything left — it just removes the net.

One question, asked of a team that just had a defect escape:

Who found out first, and how?

If the answer is “the test team told us”, the accountability has not moved. If it is “our own pipeline, four minutes after the merge” — or “our canary, before two percent of users noticed” — it has.