Software Engineering

Why QA belongs at the start of a project, not the end

Most serious defects are not typing mistakes. They are misunderstandings that were written down, designed and coded before anyone asked a hard question. QA that starts after development can only report those misunderstandings. QA that starts with the requirement can prevent them.

By BuildQore · · 3 min read

What goes wrong when testing comes last

When testing is the final phase, it inherits every schedule slip that came before it. The build arrives late, the release date does not move, and the test window shrinks. Testers prioritise the obvious paths, and the awkward cases, such as expired sessions, partial refunds and slow networks, reach production unchecked.

The other cost is rework. A wrong assumption found in a requirements review is a conversation. The same assumption found after release can mean a data fix, a hotfix, a support backlog and a difficult call with a customer. The further a misunderstanding travels, the more work gets built on top of it.

Quality work at each stage

Moving QA earlier does not mean adding a phase. It means every existing stage gets a specific quality activity, so problems are caught where they are cheapest to fix.

01 of 05

Requirements

Write acceptance criteria together. Ask what happens when input is missing, late or duplicated.

Each stage has its own quality activity. Select a step to read it.

Start with testable requirements

The most useful change is also the cheapest: do not start a story until someone can describe how to check it. "Users can reset their password" is not testable. The version below is, and writing it forces decisions about expiry and reuse that would otherwise be made by accident during coding.

password-reset.feature
Feature: Password reset

  Scenario: Reset link has expired
    Given a reset link issued more than 30 minutes ago
    When the visitor opens the link
    Then they see "This link has expired"
    And they can request a new link

  Scenario: Reset link is used twice
    Given a reset link that has already been used
    When the visitor opens the link
    Then the password is not changed

Whether or not you run these with a tool such as Cucumber, the format is worth borrowing. Given, when and then make missing cases easy to spot in a review, even for people who never read code.

What changes for the team

  • Testers join refinement sessions, not only test phases. Their questions are most valuable before the code exists.
  • Developers own automated tests for what they build, which frees QA for strategy, risk analysis and exploratory work.
  • The definition of done includes tests, accessibility checks and updated documentation, so "finished" means the same thing to everyone.
  • Defects that escape are reviewed to find the missing check, not to find someone to blame.

This is not less testing

Shift-left is sometimes read as "developers do all the testing now". That is not the idea. Specialist testing still matters, especially exploratory sessions, accessibility reviews and cross-device checks. What moves is the timing. Quality conversations begin when a change is still cheap, and testing at the end becomes confirmation rather than discovery.

Keep reading

All articles

Artificial Intelligence

AI-generated code needs a quality gate

Veracode found AI-written code passes security tests only 56% of the time. Here is the review process that closes the gap.

BuildQore · · 4 min read

Get new articles by email.

Occasional notes on building and testing software. No filler.

Used only for these updates. See the privacy policy.

Want this done on your project?

Tell us what you are building or fixing, and we will talk through how we could help.