Towards Automated Test Adaptation in Fork Ecosystems via Large Language Models
Paper i proceeding, 2026

Fork-based software ecosystems enable independent evolution, but fragment the quality assurance efforts. Although tests developed in one fork are often relevant to others, direct reuse is rare and can be difficult, due to API drift, refactorings, dependency evolution, or other changes. Prior work has shown that many tests are potentially reusable across forks, yet adapting them remains a largely manual task. This paper explores LLM-assisted test case adaptation as a new direction for automating test propagation in fork ecosystems. We propose a compiler-aware, iterative adaptation technique that integrates tests from one fork into another and leverages LLMs to repair incompatibilities revealed by build failures. We report empirical results on Java fork pairs, showing that LLM guidance can successfully adapt tests in 80% of cases where direct reuse fails due to modifications required to the test code itself. We outline research directions toward effective and scalable test propagation.

Författare

Mukelabai Mukelabai

Ruhr-Universität Bochum

Chalmers, Data- och informationsteknik, Interaktionsdesign och Software Engineering

University of Zambia

Keanu Wesley Schurkus

Ruhr-Universität Bochum

Yannic Noller

Ruhr-Universität Bochum

Thorsten Berger

Göteborgs universitet

Chalmers, Data- och informationsteknik, Interaktionsdesign och Software Engineering

Fse Companion 2026 Proceedings of the 34th ACM International Conference on the Foundations of Software Engineering

1391-1395
9798400726361 (ISBN)

ACM International Conference on the Foundations of Software Engineering, FSE 2026
Montreal, Canada,

Ämneskategorier (SSIF 2025)

Programvaruteknik

Datavetenskap (datalogi)

DOI

10.1145/3803437.3805594

Mer information

Senast uppdaterat

2026-10-21