---
title: "Uber Migrates 75,000+ Test Classes from Junit 4 to Junit 5 Using Automated Code Transformation"
source_name: "InfoQ"
original_url: "https://www.infoq.com/news/2026/04/uber-junit4-junit5-migration/?utm_campaign=infoq_content&utm_source=infoq&utm_medium=feed&utm_term=global"
canonical_url: "https://www.traeai.com/articles/308ed0d5-f50d-44f8-a8dd-441ef92df86e"
content_type: "article"
language: "英文"
score: 8.5
tags: ["JUnit","测试","自动化","Java"]
published_at: "2026-04-27T14:07:00+00:00"
created_at: "2026-04-27T23:15:17.010023+00:00"
---

# Uber Migrates 75,000+ Test Classes from Junit 4 to Junit 5 Using Automated Code Transformation

Canonical URL: https://www.traeai.com/articles/308ed0d5-f50d-44f8-a8dd-441ef92df86e
Original source: https://www.infoq.com/news/2026/04/uber-junit4-junit5-migration/?utm_campaign=infoq_content&utm_source=infoq&utm_medium=feed&utm_term=global

## Summary

Uber通过自动化代码转换工具，成功将75,000多个测试类从JUnit 4迁移到JUnit 5，分享了迁移策略和工具设计。

## Key Takeaways

- Uber开发了自动化工具完成大规模JUnit 4到JUnit 5的迁移。
- 迁移过程注重兼容性，确保新旧版本无缝切换。
- 案例为其他企业提供了大规模测试框架升级的参考。

## Content

Title: Uber Migrates 75,000+ Test Classes from Junit 4 to Junit 5 Using Automated Code Transformation

URL Source: http://www.infoq.com/news/2026/04/uber-junit4-junit5-migration/

Published Time: 2026-04-27T14:07:00+0000

Markdown Content:
# Uber Migrates 75,000+ Test Classes from Junit 4 to Junit 5 Using Automated Code Transformation - InfoQ

[BT](http://www.infoq.com/int/bt/ "bt")

## InfoQ Software Architects' Newsletter

A monthly overview of things you need to know as an architect or aspiring architect.

[View an example](https://www.infoq.com/software-architects-newsletter#placeholderPastIssues)

Enter your e-mail address 

Select your country - [x] I consent to InfoQ.com handling my data as explained in this [Privacy Notice](https://www.infoq.com/privacy-notice). 

[We protect your privacy.](http://www.infoq.com/privacy-notice/)

Close

Live Webinar and Q&A: Designing Data Layers for Agentic AI: Patterns for State, Memory, and Coordination at Scale (May 12, 2026)[Save Your Seat](http://www.infoq.com/url/pb/7335c639-7219-4049-934f-9b4f7d82520e/)

Close 

Toggle Navigation 

Facilitating the Spread of Knowledge and Innovation in Professional Software Development

English edition 

*   [English edition](http://www.infoq.com/news/2026/04/uber-junit4-junit5-migration/#)
*   [Chinese edition](https://www.infoq.cn/)
*   [Japanese edition](http://www.infoq.com/jp/)
*   [French edition](http://www.infoq.com/fr/)

[Write for InfoQ](http://www.infoq.com/write-for-infoq/ "Write for InfoQ")

Search 

[Register](http://www.infoq.com/reginit.action?)[Sign in](http://www.infoq.com/social/keycloakLogin.action?fl=login)

## Unlock the full InfoQ experience

Unlock the full InfoQ experience by logging in! Stay updated with your favorite authors and topics, engage with content, and download exclusive resources.

[Log In](http://www.infoq.com/social/keycloakLogin.action?fl=login)

or

### Don't have an InfoQ account?

[Register](http://www.infoq.com/reginit.action?)

*   **Stay updated on topics and peers that matter to you**Receive instant alerts on the latest insights and trends.
*   **Quickly access free resources for continuous learning**Minibooks, videos with transcripts, and training materials.
*   **Save articles and read at anytime**Bookmark articles to read whenever youre ready.

[Logo - Back to homepage](http://www.infoq.com/)

[News](http://www.infoq.com/news/)[Articles](http://www.infoq.com/articles/)[Presentations](http://www.infoq.com/presentations/)[Podcasts](http://www.infoq.com/podcasts/)[Guides](http://www.infoq.com/minibooks/)

### Topics

[Development](http://www.infoq.com/development/ "Development")

*   [Java](http://www.infoq.com/java/ "Java")
*   [Kotlin](http://www.infoq.com/kotlin/ "Kotlin")
*   [.Net](http://www.infoq.com/dotnet/ ".Net")
*   [C#](http://www.infoq.com/c_sharp/ "C#")
*   [Swift](http://www.infoq.com/swift/ "Swift")
*   [Go](http://www.infoq.com/golang/ "Go")
*   [Rust](http://www.infoq.com/rust/ "Rust")
*   [JavaScript](http://www.infoq.com/javascript/ "JavaScript")

### Featured in Development

*   #### [From VR to Flat Screens: Bridging the Input and Immersion Gap](http://www.infoq.com/presentations/game-vr-flat-screens)

Dany Lepage discusses the architectural journey of porting a hit VR title to seven non-VR platforms. He explains how his team solved the challenges of cross-progression, diverse input paradigms, and maintaining release velocity across Steam, iOS, and PlayStation. Beyond the tech, he shares candid lessons on the "product fit" gap when translating immersive social presence to 2D screens.

  [![Image 4: From VR to Flat Screens: Bridging the Input and Immersion Gap](https://imgopt.infoq.com/fit-in/100x100/filters:quality(80)/presentations/game-vr-flat-screens/en/smallimage/thumbnail-1775637585504.jpg)](http://www.infoq.com/presentations/game-vr-flat-screens) 

[All in development](http://www.infoq.com/development/)Follow Topic

[Architecture & Design](http://www.infoq.com/architecture-design/ "Architecture & Design")

*   [Architecture](http://www.infoq.com/architecture/ "Architecture")
*   [Enterprise Architecture](http://www.infoq.com/enterprise-architecture/ "Enterprise Architecture")
*   [Scalability/Performance](http://www.infoq.com/performance-scalability/ "Scalability/Performance")
*   [Design](http://www.infoq.com/design/ "Design")
*   [Case Studies](http://www.infoq.com/Case_Study/ "Case Studies")
*   [Microservices](http://www.infoq.com/microservices/ "Microservices")
*   [Service Mesh](http://www.infoq.com/servicemesh/ "Service Mesh")
*   [Patterns](http://www.infoq.com/DesignPattern/ "Patterns")
*   [Security](http://www.infoq.com/Security/ "Security")

### Featured in Architecture & Design

*   #### [How to Build an Exchange: Sub Millisecond Response Times and 24/7 Uptimes in the Cloud](http://www.infoq.com/presentations/exchange-systems-cloud)

Frank Yu shares Coinbase’s engineering philosophy for building resilient, fair, and fast financial exchanges. He explains the power of a single-threaded architecture combined with the Raft consensus algorithm to maintain 24/7 availability. He discusses how determinism enables zero-downtime rolling deployments and the ability to replay production logs for perfect bug reproduction.

  [![Image 5: How to Build an Exchange: Sub Millisecond Response Times and 24/7 Uptimes in the Cloud](https://imgopt.infoq.com/fit-in/100x100/filters:quality(80)/presentations/exchange-systems-cloud/en/smallimage/frank-yu-thumbnail-1776173818222.jpeg)](http://www.infoq.com/presentations/exchange-systems-cloud) 

[All in architecture-design](http://www.infoq.com/architecture-design/)Follow Topic

[AI Infrastructure](http://www.infoq.com/ai-ml-data-eng/ "AI Infrastructure")

*   [Big Data](http://www.infoq.com/bigdata/ "Big Data")
*   [Machine Learning](http://www.infoq.com/machinelearning/ "Machine Learning")
*   [NoSQL](http://www.infoq.com/nosql/ "NoSQL")
*   [Database](http://www.infoq.com/database/ "Database")
*   [Data Analytics](http://www.infoq.com/data-analytics/ "Data Analytics")
*   [Streaming](http://www.infoq.com/streaming/ "Streaming")

### Featured in AI, ML & Data Engineering

*   #### [Deepfakes, Disinformation, and AI Content are Taking over the Internet](http://www.infoq.com/presentations/deepfakes-ai)

Shuman Ghosemajumder explains how generative AI has transformed from a creative curiosity into a high-scale tool for disinformation and fraud. He shares insights on "Disinformation Automation," the fallacy of CAPTCHA in an AI world, and why engineering leaders must adopt zero-trust "cyber fusion" strategies to defend against automated attacks that mimic human behavior with chilling accuracy.

  [![Image 6: Deepfakes, Disinformation, and AI Content are Taking over the Internet](https://imgopt.infoq.com/fit-in/100x100/filters:quality(80)/presentations/deepfakes-ai/en/smallimage/shuman-ghosemajumder-thumbnail-1776248048343.jpeg)](http://www.infoq.com/presentations/deepfakes-ai) 

[All in ai-ml-data-eng](http://www.infoq.com/ai-ml-data-eng/)Follow Topic

[Culture & Methods](http://www.infoq.com/culture-methods/ "Culture & Methods")

*   [Agile](http://www.infoq.com/agile/ "Agile")
*   [Diversity](http://www.infoq.com/diversity/ "Diversity")
*   [Leadership](http://www.infoq.com/leadership/ "Leadership")
*   [Lean/Kanban](http://www.infoq.com/lean/ "Lean/Kanban")
*   [Personal Growth](http://www.infoq.com/personal-growth/ "Personal Growth")
*   [Scrum](http://www.infoq.com/scrum/ "Scrum")
*   [Sociocracy](http://www.infoq.com/sociocracy/ "Sociocracy")
*   [Software Craftmanship](http://www.infoq.com/software_craftsmanship/ "Software Craftmanship")
*   [Team Collaboration](http://www.infoq.com/team-collaboration/ "Team Collaboration")
*   [Testing](http://www.infoq.com/testing/ "Testing")
*   [UX](http://www.infoq.com/ux/ "UX")

### Featured in Culture & Methods

*   #### [Panel: Building a Culture that Works](http://www.infoq.com/presentations/panel-positive-culture)

The panelists share insights on evolving company culture. They discuss leveraging feedback loops, lending social capital, and the friction between legacy bureaucracy and agile engineering. The panel explains how to maintain cohesion in remote teams and use interviews to uncover the true "unmanicured" culture of a firm.

  [![Image 7: Panel: Building a Culture that Works](https://imgopt.infoq.com/fit-in/100x100/filters:quality(80)/presentations/panel-positive-culture/en/smallimage/ln-500x500-1775048593311.jpg)](http://www.infoq.com/presentations/panel-positive-culture) 

[All in culture-methods](http://www.infoq.com/culture-methods/)Follow Topic

[DevOps](http://www.infoq.com/devops/)

*   [Infrastructure](http://www.infoq.com/infrastructure/ "Infrastructure")
*   [Continuous Delivery](http://www.infoq.com/continuous_delivery/ "Continuous Delivery")
*   [Automation](http://www.infoq.com/automation/ "Automation")
*   [Containers](http://www.infoq.com/containers/ "Containers")
*   [Cloud](http://www.infoq.com/cloud-computing/ "Cloud")
*   [Observability](http://www.infoq.com/observability/ "Observability")

### Featured in DevOps

*   #### [Building a Future-Proof Observability Platform to Empower Engineers](http://www.infoq.com/presentations/OpenTelemetry-instrumentation)

Wayne Bell and Dan Gomez Blanco discuss the architectural and cultural shift required to scale observability at Skyscanner. They share how moving to OpenTelemetry decoupled instrumentation from vendors, and explain why treating a platform as a product - with engineers as customers - is the key to reducing incident rates and eliminating technical debt across 800+ microservices.

  [![Image 8: Building a Future-Proof Observability Platform to Empower Engineers](https://imgopt.infoq.com/fit-in/100x100/filters:quality(80)/presentations/OpenTelemetry-instrumentation/en/smallimage/DanGomezBlanco-WayneBell-thumbnail-1776170464094.jpg)](http://www.infoq.com/presentations/OpenTelemetry-instrumentation) 

[All in devops](http://www.infoq.com/devops/)Follow Topic

[Events](https://events.infoq.com/ "Events")

### Helpful links

*   [About InfoQ](http://www.infoq.com/about-infoq "About InfoQ")
*   [InfoQ Editors](http://www.infoq.com/infoq-editors "InfoQ Editors")
*   [Write for InfoQ](http://www.infoq.com/write-for-infoq "Write for InfoQ")
*   [About C4Media](https://c4media.com/ "About C4Media")
*   [Diversity](https://c4media.com/diversity "Diversity")

### Choose your language

*   [En](http://www.infoq.com/news/2026/04/uber-junit4-junit5-migration/# "InfoQ English")
*   [中文](https://www.infoq.cn/)
*   [日本](http://www.infoq.com/jp/)
*   [Fr](http://www.infoq.com/fr/)

[![Image 9: InfoQ Architect Certification - image](https://imgopt.infoq.com/eyJidWNrZXQiOiAiYXNzZXRzLmluZm9xLmNvbSIsImtleSI6ICJ3ZWIvaGVhZGVyL2NvbmZlcmVuY2VzLzIwMjYvT25saW5lQ29ob3J0c01hcmNoMjAyNi10b3AtdjQuanBnIiwiZWRpdHMiOiB7ImpwZWciOiB7ICJxdWFsaXR5Ijo4MH19fQ==) Online InfoQ Architect Certification Join Luca Mezzalira for this 5-week online cohort. Master socio-technical architecture leadership. **Register Now.**](https://certification.qconferences.com/?utm_source=infoq&utm_medium=referral&utm_campaign=homepageheader_onlinecohortaprmayjun26)[![Image 10: QCon AI Boston - image](https://imgopt.infoq.com/eyJidWNrZXQiOiAiYXNzZXRzLmluZm9xLmNvbSIsImtleSI6ICJ3ZWIvaGVhZGVyL2NvbmZlcmVuY2VzLzIwMjYvUUNvbi1BSS1Cb3N0b24tMjAyNi10b3AuanBnIiwiZWRpdHMiOiB7ImpwZWciOiB7ICJxdWFsaXR5Ijo4MH19fQ==) QCon AI Boston Learn how leading engineering teams run AI in production—reliably, securely, and at scale. **Early Bird ends April 14.**](https://boston.qcon.ai/?utm_source=infoq&utm_medium=referral&utm_campaign=homepageheader_qaiboston26)[![Image 11: QCon San Francisco - image](https://imgopt.infoq.com/eyJidWNrZXQiOiAiYXNzZXRzLmluZm9xLmNvbSIsImtleSI6ICJ3ZWIvaGVhZGVyL2NvbmZlcmVuY2VzLzIwMjYvUUNvbi1TRi0yMDI2LXRvcC5qcGciLCJlZGl0cyI6IHsianBlZyI6IHsgInF1YWxpdHkiOjgwfX19) QCon San Francisco Learn what's next in AI and software, from teams already doing it. **Early Bird ends April 14.**](https://qconsf.com/?utm_source=infoq&utm_medium=referral&utm_campaign=homepageheader_qsf26)

[InfoQ Homepage](http://www.infoq.com/ "InfoQ Homepage")[News](http://www.infoq.com/news "News")Uber Migrates 75,000+ Test Classes from Junit 4 to Junit 5 Using Automated Code Transformation

[Architecture & Design](http://www.infoq.com/architecture-design/ "Architecture & Design")

[Designing Data Layers for Agentic AI: Patterns for State, Memory, and Coordination at Scale (Webinar May 12th)](https://www.infoq.com/url/t/95243370-17c6-4296-86ff-b50308bd7ada/?label=YugabyteDB-EventPromoBox)

# Uber Migrates 75,000+ Test Classes from Junit 4 to Junit 5 Using Automated Code Transformation

Apr 27, 2026 2 min read

by

*   [![Image 12: Author photo](https://cdn.infoq.com/statics_s2_20260421232821/images/profiles/oZlePVmvHTLAVzoapw4QLpkecE5BfJW9.jpeg)](http://www.infoq.com/profile/Leela-Kumili/)[Leela Kumili](http://www.infoq.com/profile/Leela-Kumili/)

Follow Lead Engineer

#### Write for InfoQ

**Feed your curiosity.**Help 550k+ global 

senior developers 

each month stay ahead.[Get in touch](https://www.infoq.com/write-for-infoq/)

Log in to listen to this article

Loading audio

 Your browser does not support the audio element. 

0:00 0:00

Normal 1.25x 1.5x

Like

*   [Reading list](http://www.infoq.com/showbookmarks.action)

Uber engineers migrated more than 75,000 test classes and over 1.25 million lines of code from [JUnit 4 to JUnit 5 across their Java monorepo using automated code transformation](https://www.uber.com/us/en/blog/junit-migration/) and orchestration tooling. The migration was driven by the need to adopt a modern testing framework with improved extensibility and to reduce technical debt associated with a legacy system in maintenance mode.

[JUnit 4](https://junit.org/junit4/) has been in maintenance mode since 2021, while [JUnit 5](https://docs.junit.org/5.5.0/user-guide/#overview) introduces a modular architecture built on the JUnit Platform with support for the Jupiter engine and improved parameterized testing. For Uber, continuing with JUnit 4 limited access to newer capabilities made migration necessary despite the complexity introduced by scale and infrastructure constraints.

[Anshuman Mishra](https://www.linkedin.com/in/anshuiiita/) and [Kaushik Vejju](https://www.linkedin.com/in/kaushik-vejju-97b4731ab/) of Uber noted,

> Deterministic transformation tooling was critical for consistency at this scale.

Uber engineers noted that generative AI produced inconsistent results across custom test patterns. Uber’s monorepo includes hundreds of thousands of tests integrated with [Bazel](https://bazel.build/), which does not natively support JUnit 5. To address this, engineers first enabled a unified execution model using the JUnit Platform, allowing both JUnit 4 and JUnit 5 tests to run together via the Vintage and Jupiter engines. This compatibility layer ensured that migration could proceed incrementally without disrupting existing workflows.

![Image 13](https://imgopt.infoq.com/fit-in/3000x4000/filters:quality(85)/filters:no_upscale()/news/2026/04/uber-junit4-junit5-migration/en/resources/1junit5-1776546985000.jpeg)

_Enabling JUnit 5 support for Bazel (Source: [Uber Blog Post](https://www.uber.com/us/en/blog/junit-migration/))_

With the execution foundation in place, Uber adopted [OpenRewrite](https://docs.openrewrite.org/) to automate source code changes. OpenRewrite operates on a semantic representation of code, enabling deterministic transformations from JUnit 4 APIs to JUnit 5 equivalents. Engineers defined transformation recipes to update annotations, replace legacy rules, and convert parameterized test patterns to JUnit Jupiter constructs.

To support internal testing patterns, the team extended these recipes with custom transformations targeting Uber-specific test runners and base classes. Precondition checks were introduced to avoid partially migrated test files and ensure that unsupported patterns were excluded from automated updates. Engineers also analyzed usage patterns across the codebase to prioritize high-frequency constructs, improving automation coverage and efficiency.

Execution at scale was managed through an internal orchestration system called Shepherd, which applied transformations across thousands of Bazel targets in parallel. Shepherd generated code diffs and validated them through continuous integration pipelines, including unit and integration test execution, ensuring behavioral correctness before changes were accepted.

![Image 14](https://imgopt.infoq.com/fit-in/3000x4000/filters:quality(85)/filters:no_upscale()/news/2026/04/uber-junit4-junit5-migration/en/resources/1Screenshot%202026-04-18%20at%201.46.18%E2%80%AFPM-1776546985000.png)

_Automated diff generation through Shepherd (Source: [Uber Blog Post](https://www.uber.com/us/en/blog/junit-migration/))_

The migration followed an iterative rollout model. Initial runs surfaced build and test failures, which informed updates to the transformation logic. Over successive iterations, automation coverage improved, enabling larger portions of the codebase to be migrated with minimal manual intervention.

Uber engineers said the migration established a foundation for large-scale transformations using OpenRewrite. Ongoing efforts include integrating it into Bazel for Spring Boot 3 builds and migrating Guava to standard Java APIs and Joda-Time to java.time.

## About the Author

[![Image 15](https://cdn.infoq.com/statics_s2_20260421232821/images/profiles/oZlePVmvHTLAVzoapw4QLpkecE5BfJW9.jpeg)](http://www.infoq.com/profile/Leela-Kumili/)

#### **Leela Kumili**

Leela is a Lead Software Engineer at Starbucks with deep expertise in building scalable, cloud-native systems and distributed platforms. She drives architecture, delivery, and operational excellence across the Rewards Platform, leading efforts to modernize systems, improve scalability, and enhance reliability. In addition to her technical leadership, Leela serves as an AI Champion for the organization, identifying opportunities to improve developer productivity and workflows using LLM-based tools and establishing best practices for AI adoption. She is passionate about building production-ready systems, enhancing developer experience, and mentoring engineers to grow in both technical and strategic impact. Her interests include platform engineering, distributed systems, developer productivity, and bridging technical solutions with business and product goals.

Show more Show less

#### This content is in the [Productivity](http://www.infoq.com/productivity/) topic

Follow Topic

##### Related Topics:

*   [Development](http://www.infoq.com/development/)### [Development](http://www.infoq.com/development)

Followers: 4091

Follow Topic 
*   [Architecture & Design](http://www.infoq.com/architecture-design/)### [Architecture & Design](http://www.infoq.com/architecture-design)

Followers: 10213

Follow Topic 
*   [AI, ML & Data Engineering](http://www.infoq.com/ai-ml-data-eng/)### [AI, ML & Data Engineering](http://www.infoq.com/ai-ml-data-eng)

Followers: 5880

Follow Topic 
*   [Large Concept Models](http://www.infoq.com/lcms/)### [Large Concept Models](http://www.infoq.com/lcms)

Followers: 0

Follow Topic 
*   [Productivity](http://www.infoq.com/productivity/)### [Productivity](http://www.infoq.com/productivity)

Followers: 19

Follow Topic 
*   [Developer Experience](http://www.infoq.com/DevEx/)### [Developer Experience](http://www.infoq.com/DevEx)

Followers: 59

Follow Topic 
*   [AI Development](http://www.infoq.com/ai-development/)### [AI Development](http://www.infoq.com/ai-development)

Followers: 11

Follow Topic 
*   [JUnit](http://www.infoq.com/JUnit/)### [JUnit](http://www.infoq.com/JUnit)

Followers: 11

Follow Topic 
*   [Test Automation](http://www.infoq.com/test-automation/)### [Test Automation](http://www.infoq.com/test-automation)

Followers: 61

Follow Topic 
*   [Unit Testing](http://www.infoq.com/unit_testing/)### [Unit Testing](http://www.infoq.com/unit_testing)

Followers: 90

Follow Topic 
*   [migration](http://www.infoq.com/migration/)### [migration](http://www.infoq.com/migration)

Followers: 12

Follow Topic 
*   [AI Coding](http://www.infoq.com/ai-coding/)### [AI Coding](http://www.infoq.com/ai-coding)

Followers: 2

Follow Topic 
*   [Orchestration](http://www.infoq.com/orchestration/)### [Orchestration](http://www.infoq.com/orchestration)

Followers: 22

Follow Topic 
*   [Bazel](http://www.infoq.com/bazel/)### [Bazel](http://www.infoq.com/bazel)

Followers: 0

Follow Topic 

*   
#### Popular in Architecture & Design

    *   ##### [Cloudflare Launches Code Mode MCP Server to Optimize Token Usage for AI Agents](https://www.infoq.com/news/2026/04/cloudflare-code-mode-mcp-server/)

    *   ##### [Meta Reports 4x Higher Bug Detection with Just-in-Time Testing](https://www.infoq.com/news/2026/04/meta-jit-testing-ai-detection/)

    *   ##### [Anthropic Introduces Managed Agents to Simplify AI Agent Deployment](https://www.infoq.com/news/2026/04/anthropic-managed-agents/)

    *   ##### [AWS Introduces S3 Files, Bringing File System Access to S3 Buckets](https://www.infoq.com/news/2026/04/aws-s3-files/)

    *   ##### [Java News Roundup: OpenJDK JEPs, Jakarta EE 12, Spring Framework, Micrometer, Camel, JBang](https://www.infoq.com/news/2026/04/java-news-roundup-apr13-2026/)

*       
#### Related Sponsors

    *   ##### [The missing layer in the agentic AI stack: Why AI applications need durable sessions](http://www.infoq.com/url/f/3d0ce430-5805-4800-b1a2-b841b8a70648/)

    *   ##### [Portable by Design: Data Mobility & Recovery Patterns for Multi-Cloud Systems (Live Webinar May 21, 2026) - Save Your Seat](http://www.infoq.com/vendorcontent/show.action?vcr=3458336b-4af4-46e3-b96d-fa27a28e5055&primaryTopicId=2498&vcrPlace=BOTTOM&pageType=NEWS_PAGE&vcrReferrer=https%3A%2F%2Fwww.infoq.com%2Fnews%2F2026%2F04%2Fuber-junit4-junit5-migration%2F)

    *   ##### [Autonomous Production Operations Built on AWS](http://www.infoq.com/vendorcontent/show.action?vcr=00309f51-75f7-4bc9-a219-76b71e92d402&primaryTopicId=2498&vcrPlace=BOTTOM&pageType=NEWS_PAGE&vcrReferrer=https%3A%2F%2Fwww.infoq.com%2Fnews%2F2026%2F04%2Fuber-junit4-junit5-migration%2F)

    *   ##### [Inside MCP: A Protocol for AI Integration](http://www.infoq.com/vendorcontent/show.action?vcr=d19b4af8-f5b6-447c-bcbe-687c94145134&primaryTopicId=2498&vcrPlace=BOTTOM&pageType=NEWS_PAGE&vcrReferrer=https%3A%2F%2Fwww.infoq.com%2Fnews%2F2026%2F04%2Fuber-junit4-junit5-migration%2F)

    *   ##### [Architecting for What’s Next: Key Software Trends Every Senior Practitioner Must Act On — Download the InfoQ eMag](http://www.infoq.com/vendorcontent/show.action?vcr=498e4f98-9a88-4cfd-8ca6-ed3f7d5b1ba6&primaryTopicId=2498&vcrPlace=BOTTOM&pageType=NEWS_PAGE&vcrReferrer=https%3A%2F%2Fwww.infoq.com%2Fnews%2F2026%2F04%2Fuber-junit4-junit5-migration%2F)

*   #### Related Sponsor

[![Image 16: Related sponsor icon](https://imgopt.infoq.com//fit-in/218x500/filters:quality(100)/filters:no_upscale()/sponsorship/topic/ad80a710-b4db-4a6e-a702-28ca161a5276/AblyLogoMicrosite-1774947433903.jpg)](http://www.infoq.com/url/f/294a305a-dc0b-4bb3-a69a-5f754aa27b0c/)**Drop in Ably AI Transport.**

 Purpose-built infrastructure for the entire agent-to-user experience. **[Start building](http://www.infoq.com/url/f/33b50b2f-a633-430a-b435-6b66bae7560b/).**  

### Related Content

*   ##### [Grafana Rearchitects Loki with Kafka and Ships a CLI to Bring Observability into Coding Agent](http://www.infoq.com/news/2026/04/grafana-loki-ai-agents/)

Apr 23, 2026    
*   ##### [GitHub Copilot CLI Reaches General Availability](http://www.infoq.com/news/2026/04/github-copilot-cli-ga/)

Apr 12, 2026    
*   ##### [Anthropic Releases Claude Mythos Preview with Cybersecurity Capabilities but Withholds Public Access](http://www.infoq.com/news/2026/04/anthropic-claude-mythos/)

Apr 13, 2026    
*   ##### [Dynamic Languages Faster and Cheaper in 13-Language Claude Code Benchmark](http://www.infoq.com/news/2026/04/ai-coding-language-benchmark/)

Apr 06, 2026    
*   ##### [The Spring Team on Spring Framework 7 and Spring Boot 4](http://www.infoq.com/articles/spring-team-spring-7-boot-4/)

Apr 13, 2026   [![Image 17: Icon image](https://imgopt.infoq.com/fit-in/50x50/filters:quality(80)/articles/spring-team-spring-7-boot-4/en/smallimage/spring-team-spring-7-boot-4-thumbnail-1775634533622.jpg)](http://www.infoq.com/articles/spring-team-spring-7-boot-4/) 
*   ##### [Stateful Continuation for AI Agents: Why Transport Layers Now Matter](http://www.infoq.com/articles/ai-agent-transport-layer/)

Apr 08, 2026   [![Image 18: Icon image](https://imgopt.infoq.com/fit-in/50x50/filters:quality(80)/articles/ai-agent-transport-layer/en/smallimage/ai-agent-transport-layer-thumbnail-1775031603285.jpg)](http://www.infoq.com/articles/ai-agent-transport-layer/) 
*   ##### [Anthropic Introduces Managed Agents to Simplify AI Agent Deployment](http://www.infoq.com/news/2026/04/anthropic-managed-agents/)

Apr 21, 2026    
*   ##### [Designing Memory for AI Agents: inside Linkedin’s Cognitive Memory Agent](http://www.infoq.com/news/2026/04/linkedin-cognitive-memory-agent/)

Apr 20, 2026    
*   ##### [Cursor 3 Introduces Agent-First Interface, Moving beyond the IDE Model](http://www.infoq.com/news/2026/04/cursor-3-agent-first-interface/)

Apr 16, 2026    

### Related Sponsors

*   [![Image 19: Stateful agents, stateful infra: The transport gap AI teams are patching by hand](https://imgopt.infoq.com/fit-in/250x320/filters:quality(80)/sponsorship/rsc/b9061931-c59f-4442-b6fd-53f609e10fa5/cover/AblyStateful-1774946229111.jpg)](http://www.infoq.com/vendorcontent/show.action?vcr=b9061931-c59f-4442-b6fd-53f609e10fa5&pageType=NEWS_PAGE&vcrPlace=TS_SPONSORED_CONTENT_TOP)#### [Stateful agents, stateful infra: The transport gap AI teams are patching by hand](http://www.infoq.com/vendorcontent/show.action?vcr=b9061931-c59f-4442-b6fd-53f609e10fa5&pageType=NEWS_PAGE&vcrPlace=TS_SPONSORED_CONTENT_TOP)

Every AI team hits the same wall and builds the same workaround. That's not a you problem. It's a missing layer. Read Now. 
*   [![Image 20: Does your AI stack need a session layer? A maturity framework for teams building AI agents](https://imgopt.infoq.com/fit-in/250x320/filters:quality(80)/sponsorship/rsc/b009d279-d083-47a1-b417-d4f2815c2101/cover/AblyRSC4-1775027643160.jpg)](http://www.infoq.com/vendorcontent/show.action?vcr=b009d279-d083-47a1-b417-d4f2815c2101&pageType=NEWS_PAGE&vcrPlace=TS_SPONSORED_CONTENT_TOP)#### [Does your AI stack need a session layer? A maturity framework for teams building AI agents](http://www.infoq.com/vendorcontent/show.action?vcr=b009d279-d083-47a1-b417-d4f2815c2101&pageType=NEWS_PAGE&vcrPlace=TS_SPONSORED_CONTENT_TOP)

Explore the missing “session layer” in the AI stack—where many production failures originate. This framework outlines maturity stages for delivering continuous, stateful AI experiences, from fragile HTTP streaming to resilient, multi-device, real-time systems with durable sessions. Read Now. 
*   Sponsored by

[![Image 21: Icon image](https://imgopt.infoq.com//fit-in/275x500/filters:quality(100)/filters:no_upscale()/sponsorship/topic/ad80a710-b4db-4a6e-a702-28ca161a5276/AblyLogoMicrosite-1774947433903.jpg)](http://www.infoq.com/url/f/294a305a-dc0b-4bb3-a69a-5f754aa27b0c/)

### Related Content

*   ##### [MCP in the Java World: Bringing Architectural Strategy to LLM Integrations](http://www.infoq.com/articles/mcp-java-architectural-strategy-llm-integrations/)

Apr 27, 2026   [![Image 22: Icon image](https://imgopt.infoq.com/fit-in/50x50/filters:quality(80)/articles/mcp-java-architectural-strategy-llm-integrations/en/smallimage/mcp-java-architectural-strategy-llm-integrations-thumbnail-1776772947180.jpg)](http://www.infoq.com/articles/mcp-java-architectural-strategy-llm-integrations/) 
*   ##### [GitHub Integrates AI to Improve Accessibility Issue Management and Automate Feedback Triage](http://www.infoq.com/news/2026/04/github-ai-accessibility-workflow/)

Apr 02, 2026    
*   ##### [Building a Least-Privilege AI Agent Gateway for Infrastructure Automation with MCP, OPA, and Ephemeral Runners](http://www.infoq.com/articles/building-ai-agent-gateway-mcp/)

Feb 23, 2026   [![Image 23: Icon image](https://imgopt.infoq.com/fit-in/50x50/filters:quality(80)/articles/building-ai-agent-gateway-mcp/en/smallimage/building-ai-agent-gateway-mcp-thumbnail-1771417896950.jpg)](http://www.infoq.com/articles/building-ai-agent-gateway-mcp/) 
*   ##### [You’ve Generated Your MVP Using AI. What Does That Mean for Your Software Architecture?](http://www.infoq.com/articles/ai-generated-mvp/)

Feb 12, 2026   [![Image 24: Icon image](https://imgopt.infoq.com/fit-in/50x50/filters:quality(80)/articles/ai-generated-mvp/en/smallimage/thumbnail-ai-generated-mvp-1770282822570.jpg)](http://www.infoq.com/articles/ai-generated-mvp/) 
*   ##### [Building LLMs in Resource-Constrained Environments: a Hands-On Perspective](http://www.infoq.com/articles/building-llms-resource-constrained-environments/)

Feb 09, 2026   [![Image 25: Icon image](https://imgopt.infoq.com/fit-in/50x50/filters:quality(80)/articles/building-llms-resource-constrained-environments/en/smallimage/building-llms-resource-constrained-environments-thumbnail-1770217548603.jpg)](http://www.infoq.com/articles/building-llms-resource-constrained-environments/) 
*   ##### [Working with Code Assistants: the Skeleton Architecture](http://www.infoq.com/articles/skeleton-architecture/)

Feb 03, 2026   [![Image 26: Icon image](https://imgopt.infoq.com/fit-in/50x50/filters:quality(80)/articles/skeleton-architecture/en/smallimage/skeleton-architecture-thumbnail-1769508521191.jpg)](http://www.infoq.com/articles/skeleton-architecture/) 

### **The InfoQ** Newsletter

A round-up of last week’s content on InfoQ sent out every Tuesday. Join a community of over 250,000 senior developers. [View an example](https://assets.infoq.com/newsletter/regular/en/newsletter_sample/newsletter_sample.html)

Enter your e-mail address 

Select your country - [x] I consent to InfoQ.com handling my data as explained in this [Privacy Notice](https://www.infoq.com/privacy-notice). 

[We protect your privacy.](http://www.infoq.com/privacy-notice/)

*   [Development](http://www.infoq.com/development/) 

    *   ##### [QCon San Francisco 2026: 12 Tracks Announced](http://www.infoq.com/news/2026/04/qconsf-2026-tracks-announced/ "QCon San Francisco 2026: 12 Tracks Announced")

    *   ##### [Microsoft's Russinovich and Hanselman Warn AI Is Hollowing Out the Junior Developer Pipeline](http://www.infoq.com/news/2026/04/junior-developer-pipeline-crisis/ "Microsoft's Russinovich and Hanselman Warn AI Is Hollowing Out the Junior Developer Pipeline")

    *   ##### [C++26: Reflection, Memory Safety, Contracts, and a New Async Model](http://www.infoq.com/news/2026/04/cpp-26-reflection-safety-async/ "C++26: Reflection, Memory Safety, Contracts, and a New Async Model")

*   [Architecture & Design](http://www.infoq.com/architecture-design/) 

    *   ##### [Uber Migrates 75,000+ Test Classes from Junit 4 to Junit 5 Using Automated Code Transformation](http://www.infoq.com/news/2026/04/uber-junit4-junit5-migration/ "Uber Migrates 75,000+ Test Classes from Junit 4 to Junit 5 Using Automated Code Transformation")

    *   ##### [How to Build an Exchange: Sub Millisecond Response Times and 24/7 Uptimes in the Cloud](http://www.infoq.com/presentations/exchange-systems-cloud/ "How to Build an Exchange: Sub Millisecond Response Times and 24/7 Uptimes in the Cloud")

    *   ##### [Dropbox Collaborates with GitHub to Reduce Monorepo Size from 87GB to 20GB](http://www.infoq.com/news/2026/04/dropbox-reduces-git-optimization/ "Dropbox Collaborates with GitHub to Reduce Monorepo Size from 87GB to 20GB")

*   [Culture & Methods](http://www.infoq.com/culture-methods/) 

    *   ##### [How Observability and Telemetry Can Enhance the Practice of Software Engineering](http://www.infoq.com/news/2026/04/observability-telemetry/ "How Observability and Telemetry Can Enhance the Practice of Software Engineering")

    *   ##### [Panel: Building a Culture that Works](http://www.infoq.com/presentations/panel-positive-culture/ "Panel: Building a Culture that Works")

    *   ##### [Platform as a Product: Delivering Value While Balancing Competing Priorities](http://www.infoq.com/news/2026/04/platform-product-deliver-value/ "Platform as a Product: Delivering Value While Balancing Competing Priorities")

*   [AI, ML & Data Engineering](http://www.infoq.com/ai-ml-data-eng/) 

    *   ##### [Deepfakes, Disinformation, and AI Content are Taking over the Internet](http://www.infoq.com/presentations/deepfakes-ai/ "Deepfakes, Disinformation, and AI Content are Taking over the Internet")

    *   ##### [Orchestrating Agentic and Multimodal AI Pipelines with Apache Camel](http://www.infoq.com/articles/orchestrating-agentic-multimodal-ai-pipelines-apache-camel/ "Orchestrating Agentic and Multimodal AI Pipelines with Apache Camel")

    *   ##### [Dynamic Moments: Weaving LLMs into Deep Personalization at DoorDash](http://www.infoq.com/presentations/llm-personalization/ "Dynamic Moments: Weaving LLMs into Deep Personalization at DoorDash")

*   [DevOps](http://www.infoq.com/devops/) 

    *   ##### [Building a Future-Proof Observability Platform to Empower Engineers](http://www.infoq.com/presentations/OpenTelemetry-instrumentation/ "Building a Future-Proof Observability Platform to Empower Engineers")

    *   ##### [GitLab Adds Flat-Rate Code Reviews, Free-Tier AI Access, and Spending Caps](http://www.infoq.com/news/2026/04/gitlab-flatrate-view-ai-access/ "GitLab Adds Flat-Rate Code Reviews, Free-Tier AI Access, and Spending Caps")

    *   ##### [Yelp Achieves Zero-Downtime Upgrade of over 1,000 Cassandra Nodes](http://www.infoq.com/news/2026/04/yelp-cassandra-upgrade/ "Yelp Achieves Zero-Downtime Upgrade of over 1,000 Cassandra Nodes")

## **The InfoQ** Newsletter

A round-up of last week’s content on InfoQ sent out every Tuesday. Join a community of over 250,000 senior developers. [View an example](https://assets.infoq.com/newsletter/regular/en/newsletter_sample/newsletter_sample.html)

*   Get a quick overview of content published on a variety of innovator and early adopter technologies
*   Learn what you don’t know that you don’t know
*   Stay up to date with the latest information from the topics you are interested in

Enter your e-mail address 

Select your country - [x] I consent to InfoQ.com handling my data as explained in this [Privacy Notice](https://www.infoq.com/privacy-notice). 

[We protect your privacy.](http://www.infoq.com/privacy-notice/)

[**May 7 | June 10, 2026 | Online** Architecture decisions are hard to validate while shipping. Join a **5-week online cohort** for **senior engineers, architects, and team leads** to pressure-test real decisions, apply practical frameworks, and work through challenges with a confidential peer group. Facilitated by Luca Mezzalira, Principal Architect at AWS, this cohort helps you: * Pressure-test real decisions. * Apply frameworks to real problems. * Publish on InfoQ.com and earn your certification. **RESERVE YOUR PLACE**](https://certification.qconferences.com/?utm_source=infoq&utm_medium=referral&utm_campaign=largefooterad_onlinecohortaprmayjun26)

[Home](http://www.infoq.com/ "Home")[Create account](http://www.infoq.com/reginit.action "Create account")Log In[QCon Conferences](http://qconferences.com/ "QCon Conferences")[Events](https://events.infoq.com/)[Write for InfoQ](http://www.infoq.com/write-for-infoq/ "Write for InfoQ")[InfoQ Editors](http://www.infoq.com/infoq-editors/ "InfoQ Editors")[About InfoQ](http://www.infoq.com/about-infoq/ "About InfoQ")[About C4Media](https://c4media.com/ "About C4Media")[Media Kit](https://get.infoq.com/infoq-mediakit/ "Media Kit")[InfoQ Developer Marketing Blog](https://devmarketing.c4media.com/?utm_source=infoq "InfoQ Developer Marketing Blog")[Diversity](https://c4media.com/diversity "Diversity")

#### Events

*   ##### [Online InfoQ Architect Certification](https://certification.qconferences.com/?utm_source=infoq&utm_medium=referral&utm_campaign=footer_onlinecohortaprmayjun26)

May 7, 2026 
*   ##### [QCon AI Boston](https://boston.qcon.ai/?utm_source=infoq&utm_medium=referral&utm_campaign=footer_qaiboston26)

June 1-2, 2026 
*   ##### [Online InfoQ Architect Certification](https://certification.qconferences.com/?utm_source=infoq&utm_medium=referral&utm_campaign=footer_onlinecohortaprmayjun26)

June 10, 2026 
*   ##### [QCon San Francisco](https://qconsf.com/?utm_source=infoq&utm_medium=referral&utm_campaign=footer_qsf26)

November 16-20, 2026 

#### Follow us on

[Youtube 232K Followers](https://www.youtube.com/infoq)[Linkedin 26K Followers](http://www.linkedin.com/company/infoq)[Instagram New](https://www.instagram.com/infoqdotcom/)[RSS 19K Readers](https://feed.infoq.com/)[X 57.1k Followers](http://twitter.com/infoq)[Facebook 21K Likes](https://www.facebook.com/InfoQ-75911537320)[Bluesky New](https://bsky.app/profile/infoq.com)

#### Stay in the know

[The InfoQ Podcast![Image 27: The InfoQ Podcast Logo - Stay in the know](https://imgopt.infoq.com/eyJidWNrZXQiOiAiYXNzZXRzLmluZm9xLmNvbSIsImtleSI6ICJ3ZWIvZm9vdGVyL2luZm9xLXBvZGNhc3QuanBnIiwiZWRpdHMiOiB7ImpwZWciOiB7ICJxdWFsaXR5Ijo4MH19fQ==)](http://www.infoq.com/podcasts/)[Engineering Culture Podcast![Image 28: Engineering Culture Podcast Logo - Stay in the knoww](https://imgopt.infoq.com/eyJidWNrZXQiOiAiYXNzZXRzLmluZm9xLmNvbSIsImtleSI6ICJ3ZWIvZm9vdGVyL2luZm9xLXBvZGNhc3QtZW5naW5lZXJpbmctY3VsdHVyZS5qcGciLCJlZGl0cyI6IHsianBlZyI6IHsgInF1YWxpdHkiOjgwfX19)](http://www.infoq.com/podcasts/#engineering_culture)[The Software Architects' Newsletter![Image 29: The Software Architects' Newsletter Logo - Stay in the know](https://imgopt.infoq.com/eyJidWNrZXQiOiAiYXNzZXRzLmluZm9xLmNvbSIsImtleSI6ICJ3ZWIvZm9vdGVyL2luZm9xLWFyY2hpdGVjdC1uZXdzbGV0dGVyLmpwZyIsImVkaXRzIjogeyJqcGVnIjogeyAicXVhbGl0eSI6ODB9fX0=)](http://www.infoq.com/software-architects-newsletter/)

 General Feedback [feedback@infoq.com](mailto:feedback@infoq.com) Advertising [sales@infoq.com](mailto:sales@infoq.com) Editorial [editors@infoq.com](mailto:editors@infoq.com) Marketing [marketing@infoq.com](mailto:marketing@infoq.com)

InfoQ.com and all content copyright © 2006-2026 C4Media Inc.

[Privacy Notice](http://www.infoq.com/privacy-notice), [Terms And Conditions](http://www.infoq.com/terms-and-conditions), [Cookie Policy](http://www.infoq.com/cookie-policy)

Close

[BT](http://www.infoq.com/int/bt/ "bt")
