In a recent interview with the specialist magazine iX, testing expert Richard Seidl talks about the joy of testing and how the industry and the profession are changing in the age of AI.The occasion is obvious: when language models contribute a growing share of the source code, the question shifts from Who writes the code? to Who is responsible for making sure it works?

For project managers in medium-sized companies, this is not an academic debate.It is about whether an application will still be maintainable in two years, whether an update can be deployed without risk and whether errors are noticed before customers notice them.

Why AI-generated code produces different errors

Code that comes from a language model usually looks plausible.That is precisely the challenge: it is syntactically clean, follows common patterns and often passes superficial checks without any problems.The typical weak points lie elsewhere.

  • Domain gaps: The model does not know the business case, only the wording of the task.Special cases that are taken for granted within the company are missing from the result.
  • Wrong assumptions about the existing system: Generated code often fits an ideal-typical environment, not the evolved architecture of an existing system.
  • Apparent completeness: Error handling, validation or permission checks appear to be present, but only cover the main path.
  • Inconsistencies across multiple places: Individual files are coherent in themselves, but their interaction within the overall system is not.

These classes of errors do not arise from carelessness, but from the way generative models work.They therefore cannot be ruled out by more care when prompting alone, but only through systematic review.

Review becomes a core competency

When writing code becomes faster and cheaper, the bottleneck shifts towards assessment.Reading, understanding and evaluating are more demanding than typing – and they are harder to delegate.

In practice, this means: a review must not be limited to formalities.It must check the domain intent, assess the embedding in the existing architecture and disclose which assumptions are contained in the code.Developers thus become more strongly reviewers and those responsible for the result – a role that demands more experience, not less.

Traceability is also important: anyone who has to debug a change in a year must understand why it looks the way it does.Short, meaningful commit messages and documented decisions gain in importance when no one has formulated every line themselves.

Automated tests as a safety net

Test automation made sense even before AI.With a high level of AI involvement, it becomes a prerequisite for ensuring that speed does not turn into instability.A robust safety net consists of several levels:

  1. Unit tests check individual functions in isolation and cover edge cases that are easily overlooked when reading.
  2. Integration tests check the interaction of components, database and interfaces – precisely the area in which generated code typically makes assumptions.
  3. End-to-end tests map the most important processes from the user's perspective, such as submitting a form or an editorial workflow in the CMS.
  4. Static analysis – i.e. automated checks without program execution – finds security patterns, dead paths and deviations from coding standards.

There is one special aspect: tests can also be generated.That is helpful, but carries a risk.If the implementation and the test arise from the same faulty assumption, the test merely confirms the error.Test cases should therefore be derived from the domain requirement, not from the code that has already been written.

New roles, a changed profession

The interview picks up on a point that is currently becoming noticeable in many teams: the profession around testing and quality assurance is changing.Pure click work in the browser is losing importance, while thinking through risks, designing test architectures and critically questioning results are becoming more important.

For companies, this above all means one thing: quality assurance is not a phase at the end of the project, but an ongoing task with clear responsibility.

Whoever does not name this role in the project is implicitly relying on a model having guessed correctly.

How quality can be safeguarded in the project

From our project practice, a number of guardrails have proven their worth, regardless of how high the AI share in an implementation is:

  • Define a definition of done: A task is only considered complete once tests are in place, the review has been completed and the change has been documented.
  • Automated checks in the pipeline: Tests and static analysis run with every proposed change, not on request.
  • Plan for business sign-off: The people who are responsible for the process in day-to-day operations test the critical workflows themselves.
  • Name human responsibility: Every change has a person who is accountable for it — regardless of which tool produced it.
  • Assess maintainability: Not only Does it work?, but also Will we still understand it in a year?

Classification for web and software projects

For web and software projects, the effort shifts, but it does not disappear: What is saved during implementation must flow back into review, test setup and business sign-off.What matters is therefore not how much code an AI contributes, but how well the review processes around it are set up.Anyone who invests today in test automation and clear responsibilities can use AI support productively without jeopardising the maintainability of the system.

Sources