Skip to main content

LUP Student Papers

LUND UNIVERSITY LIBRARIES

Dynamic test script generation for test and verification in continuous integration

Dahlström, Isak LU (2026) EITL05 20261
Department of Electrical and Information Technology
Abstract
Complex software must be tested carefully. This thesis looks at how automated testing can be improved for Alstom’s Radio Block Centre, a system that supervises trains and sends movement authorities. The work focuses on three practical ways to improve an existing automated test setup. First, it studies how the test suite can be made more dynamic by introducing randomness into current test scripts. This is done by changing train length, which is normally fixed in the existing tests. Second, it develops a template-based method for generating movement authority tests from site data. Third, it defines a workflow for checking whether documented minimum and maximum values for user-configurable parameters are included in the existing test scripts.... (More)
Complex software must be tested carefully. This thesis looks at how automated testing can be improved for Alstom’s Radio Block Centre, a system that supervises trains and sends movement authorities. The work focuses on three practical ways to improve an existing automated test setup. First, it studies how the test suite can be made more dynamic by introducing randomness into current test scripts. This is done by changing train length, which is normally fixed in the existing tests. Second, it develops a template-based method for generating movement authority tests from site data. Third, it defines a workflow for checking whether documented minimum and maximum values for user-configurable parameters are included in the existing test scripts. The results show that random variation of train length can expose hidden assumptions in test scripts. They also show that route-specific tests can be generated from site data and that missing boundary-value tests can be found in a structured way. These methods show that the test suite can be made more dynamic, while also providing Alstom with ways to improve coverage in the existing test environment. (Less)
Abstract (Swedish)
Komplex mjukvara kräver testning på flera nivåer. Detta examensarbete undersöker automatiserad testning av Radio Block Centre (RBC). En RBC bestämmer hur långt ett tåg får köra och i vilken hastighet. Examensarbetet har tre fokusområden. Det första området undersöker hur nuvarande testscript kan göras mer dynamiska genom att införa slumpmässighet. Slumpmässighet införs genom att variera tåglängd. Det andra området fokuserar på hur en mallbaserad metod kan användas för att generera testscript utifrån site data. Det tredje området letar efter en systematisk metod för att kontrollera om gränsvärden för projekterbara parametrar testas på subsystemnivå. Resultatet visar att testmiljön kan bli mer dynamisk genom att använda slumpmässighet.... (More)
Komplex mjukvara kräver testning på flera nivåer. Detta examensarbete undersöker automatiserad testning av Radio Block Centre (RBC). En RBC bestämmer hur långt ett tåg får köra och i vilken hastighet. Examensarbetet har tre fokusområden. Det första området undersöker hur nuvarande testscript kan göras mer dynamiska genom att införa slumpmässighet. Slumpmässighet införs genom att variera tåglängd. Det andra området fokuserar på hur en mallbaserad metod kan användas för att generera testscript utifrån site data. Det tredje området letar efter en systematisk metod för att kontrollera om gränsvärden för projekterbara parametrar testas på subsystemnivå. Resultatet visar att testmiljön kan bli mer dynamisk genom att använda slumpmässighet. Resultatet visar även att det är fullt möjligt att förbättra täckningen av testerna genom att använda en mallbaserad metod för att generera testscript utifrån site data. Även om ett fåtal av de genererade testscripten misslyckades, så kan avvikelserna användas för att vidareutveckla mallen. Avslutningsvis presenteras en metod som Alstom kan använda för att analysera täckning av projekterbara parametrars gränsvärden på subsystemtestnivå. (Less)
Please use this url to cite or link to this publication:
author
Dahlström, Isak LU
supervisor
organization
course
EITL05 20261
year
type
M2 - Bachelor Degree
subject
keywords
ERTMS, Radio Block Centre, Automated testing, Test generation, Movement authority, Template-based method, Boundary value analysis, Train length
report number
LU/LTH-EIT 2026-1159
language
English
id
9238511
date added to LUP
2026-06-16 16:00:20
date last changed
2026-06-23 12:03:02
@misc{9238511,
  abstract     = {{Complex software must be tested carefully. This thesis looks at how automated testing can be improved for Alstom’s Radio Block Centre, a system that supervises trains and sends movement authorities. The work focuses on three practical ways to improve an existing automated test setup. First, it studies how the test suite can be made more dynamic by introducing randomness into current test scripts. This is done by changing train length, which is normally fixed in the existing tests. Second, it develops a template-based method for generating movement authority tests from site data. Third, it defines a workflow for checking whether documented minimum and maximum values for user-configurable parameters are included in the existing test scripts. The results show that random variation of train length can expose hidden assumptions in test scripts. They also show that route-specific tests can be generated from site data and that missing boundary-value tests can be found in a structured way. These methods show that the test suite can be made more dynamic, while also providing Alstom with ways to improve coverage in the existing test environment.}},
  author       = {{Dahlström, Isak}},
  language     = {{eng}},
  note         = {{Student Paper}},
  title        = {{Dynamic test script generation for test and verification in continuous integration}},
  year         = {{2026}},
}