✓ ShippedByAgents
Practitioner (own blog/paper) Test migration

Google migrates 5,359 test files from JUnit3 to JUnit4 in 3 months with LLMs

Updated on Set published to 2025-01-12 from the arXiv submission date on abs/2501.06972.

Using the same LLM migration toolkit, Google converted old JUnit3 tests and split the results into small changelists for code owners. Review speed was the bottleneck; the team deliberately limited weekly change volume to avoid overwhelming reviewers.

The numbers (as reported)

Files migrated5,359
Lines modified149,000+
Duration3 months
AI-generated code committed unchanged~87%

Facts

Company / subject
Google
Tools
—
In-house tools
Google internal migration toolkit (fine-tuned Gemini)
Codebase
brownfield
Work type
Test migration
Stack
Java, JUnit
Published
2025-01-12
Last checked
2026-11-16
Updated
2026-11-16

What the source claims Practitioner (own blog/paper)

Claimed by the builder, writing about their own work. Not checked independently.

  • 5,359 files migrated, changing more than 149,000 lines, in 3 months 5,359 files in 3 months
    “With this technique we were able to migrate 5,359 files modifying more than 149,000 lines of code in 3 months.”
  • About 87% of the AI-generated code was committed without any change ~87%

Caveats

Experience report; Google uses its own model.

Related topics: Test migrationsBrownfield codebases

Source

Google experience report (arXiv 2501.06972)

One email a week: what actually shipped

New sourced stories, the numbers behind them, and what didn't work. No hype.

We'll only use this to send the newsletter. See the privacy page.