75% of new code at Google is AI-generated and approved by engineers. Approved isn't tested. Why AI in software testing has to move from writing tests to validating what ships.
On April 22, Sundar Pichai wrote that "75% of all new code at Google is now AI-generated and approved by engineers, up from 50% last fall." In October 2024, the figure was a little over a quarter.
Most of the reaction I saw was about the 75. The word I keep coming back to is "approved."

Approved means an engineer read the diff and agreed with it. It doesn't mean anyone ran the checkout flow, tried an expired card, or entered the promo code a customer will paste in with a trailing space. Those are different activities, and a lot of the industry has started treating them as one.
Here's where I land on AI in software testing. Code review checks that code looks right. Testing checks that we built the right product and that it behaves the way people need it to. AI made the first one much faster and left the second almost exactly where it was. We're scaling review and starving validation, and that puts the bottleneck in the wrong place.
Approved isn't the same as tested
Picture a pattern most teams will recognize. An AI assistant refactors the pricing module. It's about 400 lines, cleanly structured, well named, with sensible comments. The reviewer approves it in twelve minutes, because it reads well and the unit tests are green.
Nobody exercises the promo code path. The refactor changed the order in which discounts apply, and the unit tests were rewritten alongside the helper functions they covered. The first person to try a stacked discount is a customer.
The reviewer didn't do anything wrong. Review is a reading activity. It catches structure, style, obvious logic errors, and changes that look risky. It doesn't catch behavior that only shows up when the software runs against real flows, real data, and real people doing odd things. That's what testing is for.

When people wrote most of the code, review and testing could roughly keep pace, because writing the code was the slow part. That's no longer true. Generating code is now cheap, review is being squeezed to keep up, and testing has quietly dropped out of the conversation.
How is AI used in software testing today?
Mostly on the authoring side. Teams use AI to draft test cases from requirements, generate automation scripts for Playwright or Selenium, repair broken locators, and summarize failures. All of that is useful, and I'm not arguing against any of it.
Very little of it touches execution and judgment, which is where the time goes. Someone still has to run the regression suite, work through the manual cases nobody automated, look at what actually happened, and decide whether it's good enough to ship. In most teams I talk to, that's the part that eats the sprint.
Generating more test cases doesn't help much if you can't run the ones you already have.
The instability number nobody wants to own
The 2025 DORA report, from Google's own research program, has two findings that belong side by side. First: "we observe a positive relationship between AI adoption on both software delivery throughput and product performance." Second: "AI adoption does continue to have a negative relationship with software delivery stability."
The report's explanation is that "AI accelerates software development, but that acceleration can expose weaknesses downstream." It also names what's supposed to absorb that acceleration: "Without robust control systems, like strong automated testing, mature version control practices, and fast feedback loops, an increase in change volume leads to instability."
The Stack Overflow 2025 Developer Survey points the same way from the developer side. 84% of developers use or plan to use AI tools. 46% say they don't trust the accuracy of the output, up from 31% the year before. 45% name debugging AI-generated code as a key frustration.
So the people writing the code don't fully trust it, the people studying delivery say it's making releases less stable, and the fix they point to is testing. Yet most of the AI investment I see is still aimed at writing more code, faster.
Why AI-written tests don't fix AI-written code
The obvious next move is to have the AI write the tests too. Sometimes that helps. Often it just moves the problem.
If a model misreads a requirement, it writes code that does the wrong thing confidently. Ask the same model, with the same context, to test that code, and it writes tests that agree with its reading. The build goes green. The code and the tests are consistent with each other and wrong about the product.

This is the old difference between verification and validation. Verification asks whether we built the thing right, against the spec as it was understood. Validation asks whether we built the right thing. AI-generated tests are good at verifying AI-generated code. They're much weaker at validation, because validation needs an outside reference: the requirement as the business meant it, the path a real user takes, someone who knows what "correct" looks like for this product.
The answer isn't to stop AI from writing tests. It's to keep at least one check that doesn't share the model's assumptions, and to run it against the real application. For most teams, that check already exists. It's the regression suite and the manual test cases written from the requirements, the ones there's never enough time to run.
Will software testing be replaced by AI?
I get asked this a lot, and I think the question is pointed the wrong way. If three quarters of new code at one of the largest engineering organizations is AI-generated, the volume of change that needs checking has gone up, not down. More changes, shipped faster, by an author that can be confidently wrong.
What changes is the shape of the work. Writing scripts by hand becomes a smaller part of the job. Deciding what to test, judging whether a result is actually right, and owning the call on whether a release ships becomes a bigger part. Testing is the part of the pipeline that gets more necessary as code gets cheaper. The testers I'd worry about least are the ones who already think in terms of risk and evidence rather than scripts.
Where I'd start
You don't need a new strategy to start. You need three questions at the next release meeting.
- How much of this release did anyone actually exercise end to end? Not reviewed. Ran.
- What's our regression capacity in hours, compared with the volume of change going out? If coding output doubled this year and test execution capacity stayed flat, the gap is the risk you're carrying.
- Which flows have no tests at all because nobody had time? Write them down. That list is the honest version of your coverage report.

If the second answer is the uncomfortable one, the capacity has to come from somewhere. Hiring testers in proportion to AI coding output isn't realistic for most teams. What is realistic is an agent that executes the manual tests you already have, in parallel, and shows its evidence for every step, so a person can check the verdict instead of redoing the run. That's testing capacity that grows the way coding capacity just did, without asking anyone to trust a green tick they can't inspect. If you're already automating regression, this is the other half: the cases that never made it into scripts.
Two caveats
Google's figures are self-reported, and they describe new code, not the whole codebase. DORA reports relationships, not proof that AI causes instability. I still think the direction is clear enough to act on.
Developers got their capacity upgrade. The question now is who checks the work.
Frequently asked questions
Today, AI in software testing is used mostly for authoring: drafting test cases from requirements, generating automation scripts for frameworks like Playwright and Selenium, repairing broken locators, and summarizing failures. A smaller but growing use is execution, where an agent runs natural-language test cases against the application and records evidence for each step. Deciding whether a release is good enough to ship still sits with people.
Test the behavior, not just the diff. Run the end-to-end flows the change touches, including error paths and edge cases, against the real application. Keep at least one check that doesn't come from the model that wrote the code, such as test cases written from the requirements or exploratory testing by someone who knows the product. Static analysis and security scanning are a useful baseline, but they don't tell you whether the feature does what the business asked for.
No. Code review is a reading activity: it checks structure, naming, logic, and risky patterns. It doesn't run the software, so it can't catch behavior that only shows up with real flows and real data. As more code is AI-generated, review gets faster, but the need to validate behavior grows with the volume of change.
It can, and those tests are useful for verification: checking that the code does what the model intended. They're weak at validation, because a model that misread a requirement will usually write tests that agree with its misreading. Pair AI-written tests with an independent check written from the requirement and run against the real application.
It's unlikely. When AI writes most new code, the volume of change that needs checking goes up, not down. The work shifts away from writing scripts by hand and toward deciding what to test, judging whether results are actually right, and owning the call on whether a release ships.

Test everything. Ship with confidence.
From generating test cases to spotting failures, Katalon's AI works across your entire pipeline, automatically.





