Skip to main content
Gateway to Research (GTR)

This is a new service – your feedback (opens in new tab) will help us to improve it.

Back

Important

If you use the GtR API

GtR has a new application programming interface (API).

If you use the previous API, you will need to update your tools.

Find out how you can get started with the new API
Project

Automated Generation and Inference of Unit Tests for Legacy Software

Study period:
1 October 2021 to 20 June 2022
Funder:
Engineering and Physical Sciences Research Council (EPSRC)
Project status:
Closed
Project category:
Studentship
Project reference:
2596658
Lead research organisation:
University of Leicester

Contents

Overview

Abstract

BT is faced with a considerable estate of legacy software, either through its own creation or acquisition, which contains many valuable algorithms and components. Successful refactoring of these legacy systems to, for example, microservice architectures can be very challenging as it critical the new system functionally behaves the same as the original. A detailed test-harness for the original system generally provides the most insight, however most legacy code within BT lack a comprehensive test harness. This project will focus on generating unit tests for legacy systems using functional specifications and historical data. This will allow BT developers to quickly fit legacy systems with a test-harness that can guide refactoring and guard against undesired regressions. This will also provide developers with significantly faster insight into the legacy system as well as improve refactoring time.

Last updated: 2 December 2026