< Back to articles

QA in the age of AI agents: how to test when AI writes most of the code

QA in the age of AI agents: how to test when AI writes most of the code

📺 Recording of Madina Akramova's talk at Ackee Meets: QA in the age of AI (the talk is in Czech):

Developers started writing code with AI agents, and the pace picked up so much that QA could no longer keep up with clicking through everything. Our solution was bold precisely because it was so simple: reach for the same tools the developers use and let Claude Code click through the manual part of testing for us.

📋 TL;DR

  • Today a large share of code is written by an AI agent, which means more material to test in the same sprint. QA shouldn't be the slower half of the team.
  • AI doesn't necessarily write bad code, just a lot more code. And it has a strong incentive to turn a test green, even if that means quietly deleting a failing test.
  • For Claude Code to be useful in testing, it needs a QA harness: tools, skills, context, guardrails, memory and integrations via MCP.
  • A testing-notes skill takes a ticket number and a pull request link and returns a concrete checklist of what to test.
  • Maestro covers end-to-end tests in YAML, and Proxyman gives you control over network traffic. Both have an MCP server, so Claude can operate them itself.
  • In the demo, Claude had never seen the app before. It explored it through screenshots and accessibility, fixed a selector on its own, and saved the finished flow for repeated runs.
  • Manual testing stops being manual, but QA doesn't disappear. It shifts toward orchestrating AI agents, finding risks and validating outputs.

⏱️ Timeline: from a hand-written line to a feature in an afternoon

Development timeline in three steps: traditional development, the assistance era and full AI agent autonomy

In 2014 a developer wrote every line by hand. A feature that a developer can build in an afternoon today took weeks back then, and QA had a pleasantly predictable pace because of it. A ticket comes in, gets tested, and you move on.

In 2022 tools like Copilot and ChatGPT arrived. AI started completing code, sprints got shorter and there was more and more to test.

And in 2026 an AI agent is a normal part of a developer's daily work. It writes most of the code, and the developer directs, reviews and fine-tunes it. The result is a lot more code per sprint than before, and a lot more material for QA to test.

The real question we ask ourselves is simpler: how can we use the same tools as developers and be just as fast?

🐛 Bugs AI agents make: a broken name field and a quietly deleted test

Development speed shot up, and so did the number of bugs. That doesn't necessarily mean AI writes bad code. There is just much more of it, and some of the mistakes have a fairly characteristic shape.

Meme of a knight pierced by a spear, a joke about an app with 100% test coverage that gets taken down by an emoji in the name field

The first classic: the agent writes an app, generates nice tests for it, coverage is 100%, everything is green. Then a user types an emoji into their name and the whole thing crashes.

The second classic is sneakier. AI has a strong incentive to make tests pass. When it has to choose between "do what was asked" and "turn a test green", it often goes for the second. An agent can work in two modes: it will calmly write half the architecture of an entire system for you, or it will quietly delete a test that was failing, because that was easier than fixing it.

Tests matter, but they don't catch everything. How to avoid learning about the unpleasant surprises from your users is a topic we cover in our article on backend monitoring (currently available in Czech only).


🧰 QA harness: what Claude Code needs to be useful in testing

Meme with two women talking, captioned with a prompt that is supposed to turn a chatbot into an experienced tester with no mistakes or hallucinations

Writing in a prompt that the chatbot should act like an experienced tester with fifty years of practice who makes no mistakes and doesn't hallucinate stopped being enough for us a long time ago. So we decided to use the same tools as developers, specifically Claude Code.

But for the agent to really help with our work, we have to set up its environment. We call it a harness: the gear the agent has around it.

Diagram of a QA harness with the agent in the center and six elements around it: tools, skills, context, guardrails, memory and integrations

The agent itself sits in the middle. It works in a loop: think, act, observe the result, and again. It isn't a chatbot that answers once and is done. It's a tool that works on a task until the task is finished. And around it are six things that matter:

  • Tools. Claude can run commands and read and edit files. It isn't locked inside a chat, it works directly in the project.
  • Skills. Specialized procedures for things we do often. Instead of teaching the agent from scratch every time, we have a procedure ready.
  • Context. A set of instructions that explains what our project looks like, how we test and what we expect from the agent. Without it the agent answers in general terms, with it, specifically for our project, including a link to the source code repository.
  • Guardrails. Boundaries the agent must not cross. What it must not read, what it must not change, where it must not write.
  • Memory. Long-term memory across tasks. Once we explain how we work, we don't have to explain it again next time.
  • Integrations. Connections to real tools through an MCP server: the ticketing system, GitLab, Slack and the tools we use when testing: Maestro, Proxyman, Postman.
💡
A skill is a procedure you write once

A skill pays off for anything you do repeatedly in QA and always the same way. You don't have to teach the agent over and over what the output should look like. You describe the format once and after that you just tell it what to run it on.

📝 Testing-notes skill: a ticket and a pull request in, a checklist out

Diagram of the testing-notes skill: a ticket and a pull request go through Claude and become a checklist of test scenarios

It used to work like this: after finishing a pull request, the developer wrote testing notes, meaning what needs to be tested. It sounded logical. He wrote the code, so he knew best what had changed.

Today we do it differently. We send Claude a ticket number and a link to the pull request. It pulls the ticket description itself, goes through the code changes and returns a concrete checklist of what to test, in the format we're used to. It's a skill I use daily.


Book a consultation

📱 Maestro: end-to-end tests in YAML that the agent writes for you

Maestro is used for end-to-end testing of mobile apps, both iOS and Android. Tests in it are written in YAML, so a test looks like a readable list of steps: open the app, tap here, type this, check that that shows up. Even someone who has never seen code can read it.

And importantly, Maestro has an MCP server. That means Claude can connect to it directly. We don't have to write YAML tests by hand: we tell the agent what we want to test, it writes the test, runs it on a real device or simulator and returns the result. We just review it.

At the talk I showed this on a mobile app that we're building at Ackee for BoxNow. On the left was the conversation with Claude, in the middle the so-called Maestro viewer with all the commands the agent sent to Maestro, and on the right a mirror of a real Android device's screen. The assignment was: explore the app and create an end-to-end flow for sending a parcel to a locker.

The resulting flow is a readable list of steps. In shortened form it looked like this:

- launchApp
- assertVisible: "Send parcel"
- tapOn: "Send parcel"
- assertVisible: "Sender country"
- tapOn: "${output.PARCEL_SIZE}"
- tapOn: "Continue"
- assertVisible: "Recipient contact details"
- inputText: "${output.LOCKER_SEARCH}"
- tapOn: "${output.LOCKER_NAME}.*"
- tapOn: "Choose this locker"
- inputText: "${output.RECIPIENT_PHONE}"
- hideKeyboard
- tapOn: "Continue"

The recording shows how the agent proceeds: it explores the screen, takes a screenshot to see what's on it, and picks the parcel size. One command failed, but it managed to fix itself fairly quickly by rewriting the selector so it picked the right element.

The key point is that Claude had no idea what the app looked like. It was exploring it for the first time and had only a basic project description and access to the repository. It did the exploring through screenshots and accessibility, so it was working fairly blind. The first few minutes therefore took longer than clicking through by hand would have. But the more tests the project has, the better overview of the app the agent gets.

✅
The exploration rewrites itself into a test that runs without the agent

Because the whole exploration ran through Maestro, all the important commands were saved into a separate flow. It can then be run repeatedly and much faster, without the agent, without tokens and without waiting.

🌐 Proxyman: control over network traffic and mocking responses

The third tool in our kit is Proxyman, an HTTP debugging proxy. In it we can see exactly what the mobile app sends to the backend and what it gets back. We use it to mock requests and responses: we make the backend return the response we need and watch how the app behaves. And like Maestro, Proxyman has an MCP server too.

Verifying a negative scenario: the conversation with Claude, the list of commands in the Maestro viewer and the app screen showing an error on the phone number field

In this example Claude verified a negative scenario. When sending a parcel, it was supposed to enter a phone number in the wrong format, without the international prefix, and check that it doesn't get through. The app stopped it at the recipient step and the phone field turned red with an inline error. On the server side, Proxyman then captured that the validation endpoint responded with a 422 Unprocessable Entity code.

The agent handled all of it with a combination of Maestro MCP and Proxyman MCP: it ran the right steps in the mobile app and found the matching error response in the network traffic.


🔗 Three tools, one agent: what MCP makes of it

Diagram of how Maestro MCP and Proxyman MCP connect to the Claude Code agent

Put together, it makes a fairly lean setup.

ToolWhat it coversMCP server
Claude Codethe agent that holds project context and drives the other toolsclient
Maestroend-to-end tests of mobile and web appsyes
Proxymannetwork traffic, mocking requests and responsesyes

Maestro covers testing of mobile and web apps, and Proxyman gives us control over network traffic. And because both have an MCP server, Claude can operate them itself. We don't have to be in the middle of every step.

🔍 What we found along the way: hallucinations, cost and human review

I won't pretend it's seamless. A few things showed up right away.

Hallucinations did appear, specifically with the testing-notes skill, where the agent made up a scenario that had nothing to do with the given ticket and didn't need testing. I haven't run into this with Maestro and Proxyman yet, but we've been using those for a shorter time.

It's not 100% coverage of flows either. For new features I always go through the result by hand as well. So far it has worked best on things that repeat: smoke tests and regression flows, where speed is the biggest win.

And cost? I used Opus under the company team plan and didn't exceed my limit while testing. We had Maestro and Proxyman in the paid version, which the company pays for. We haven't done a detailed cost-benefit analysis yet, meaning how much exactly the increased productivity costs us, and it's only fair to say that out loud.

“I don't have a hundred percent trust in Claude Code, Maestro or Proxyman. I always check it myself too, just to be sure.”

Madina Akramova, QA tester at Ackee
⚠️
A green result from an agent is not the same as a tested feature

The agent will generate fifty edge cases, but deciding which three of them are critical for the project is still up to the tester. The output has to be read, not just clicked through.


🔄 Manual testing stops being manual. QA doesn't end

And this is exactly where the word "manual" changes. What we used to call manual testing (clicking through, verifying, comparing) stops being manual. Testing remains, it's just that Claude does the manual step for us.

Note that this doesn't mean QA disappears. It means we're shifting. Instead of clicking through the same regression flow four times a week, we spend time on things the agent can't do: we ask whether it makes sense, we look for risks, we validate outputs. In effect, we orchestrate the work of AI agents.

Frequently asked questions

Partly. Maestro can call a separate YAML file as a subflow with the runFlow command, so a shared sequence of steps can be pulled out into its own file and reused. In our case, though, the agent has so far generated mostly standalone, flat flow files without this subflow structure.
It has access to the repository, so it can look at the code. It then explores the app itself through Maestro: it takes screenshots and reads the accessibility structure of the screens. The first exploration is therefore slower, and later ones build on what it learned.
For this testing I used Opus under the company team plan. I didn't exceed my limit.
We used Claude, Maestro and Proxyman in paid versions that the company pays for. We haven't yet done a detailed cost-benefit analysis comparing the increased productivity with the costs.
Yes, it has happened. With the testing-notes skill it made up a scenario that had nothing to do with the given ticket. That's why somebody still reads the output.
In my view it won't be "manual QA" anymore, just QA. The tools click through the manual part for us, but decisions, prioritization and the final check stay with a human.

🎯 Key takeaways

AI agents didn't make code worse. They made much more of it, and so they moved the bottleneck from development to testing. The answer isn't to test faster by hand, but to give the agent the same kind of environment a developer has: a harness with tools, skills, context, guardrails, memory and integrations via MCP.

In practice that comes down to three things. A skill for whatever you do the same way all the time, whether that's testing-notes or something else. Tools with an MCP server so the agent can drive them itself: for us, Maestro for end-to-end tests and Proxyman for network traffic. And human review where judgment is involved: what is a risk, what is a priority and what the client actually wanted.

If you're curious what a similar shift looks like on the development side, take a look at our comparison of Cursor and Claude Code, or at how the QA team built its own app for tracking test devices.

Subscribe to the newsletter

You can find the whole story, including questions from the audience, in the recording of the talk (in Czech). Follow Eventbrite for the dates of upcoming Ackee Meets, and sign up for our newsletter (in Czech) so the next piece like this lands straight in your inbox.

Madina Akramova
Madina Akramova

Are you interested in working together? Let’s discuss it in person!