Reinforcement Learning with Advanced Neural Network Architectures for Test Case Prioritization

dc.contributor.authorBerisha, Naron
dc.contributor.departmentChalmers tekniska högskola / Institutionen för fysiksv
dc.contributor.departmentChalmers University of Technology / Department of Physicsen
dc.contributor.examinerGustafsson, Kristian
dc.contributor.supervisorEliasson, Adrian
dc.date.accessioned2024-06-19T06:57:14Z
dc.date.available2024-06-19T06:57:14Z
dc.date.issued2024
dc.date.submitted
dc.description.abstractThis thesis investigates the application of contemporary neural network architectures, specifically Convolutional Neural Networks (CNNs), Dueling Networks, and Transformers, to enhance Test Case Prioritization (TCP) within Continuous Integration (CI) environments using the RETECS framework and reinforcement learning techniques. Traditional TCP methods often fail to keep pace with the rapid development cycles and complex codebases characteristic of modern software development. By integrating these advanced deep learning techniques within the RETECS framework, this research aims to improve both the efficiency and effectiveness of the TCP process. A rigorous experimental setup, utilizing real-world datasets, was employed to train and evaluate the proposed models against traditional TCP methods. Performance was assessed using key metrics such as the Average Percentage of Faults Detected (APFD) and Normalized APFD (NAPFD), focusing on the models’ capability to efficiently detect faults and reduce testing time. Results indicate that the advanced models, especially the Dueling Networks, outperform traditional methods. Specifically, the Dueling Networks demonstrated a consistent increase in APFD scores by up to 3% over conventional models, showcasing their potential to optimize test case scheduling and fault detection within CI pipelines. These findings underscore the transformative potential of neural networks in automating and optimizing TCP processes within CI frameworks, suggesting a shift toward more intelligent testing systems. Moreover, the study highlights the critical role of tailored reward functions in reinforcement learning-based TCP to further enhance the prioritization efficacy of these models. This research contributes to the fields of software engineering and machine learning by providing empirical evidence of the benefits of applying sophisticated computational models to TCP. It also outlines future research directions, including the exploration of additional machine learning models and the integration of these methods into real-world CI environments to further refine and enhance the TCP process.
dc.identifier.coursecode2024
dc.identifier.urihttp://hdl.handle.net/20.500.12380/307929
dc.language.isoeng
dc.setspec.uppsokPhysicsChemistryMaths
dc.subjectContinuous Integration
dc.subjectTest Case Prioritization
dc.subjectMachine Learning
dc.subjectNeural Networks
dc.subjectReinforcement Learning
dc.subjectConvolutional Neural Network
dc.subjectDueling Network
dc.subjectTransformer
dc.titleReinforcement Learning with Advanced Neural Network Architectures for Test Case Prioritization
dc.type.degreeExamensarbete för masterexamensv
dc.type.degreeMaster's Thesisen
dc.type.uppsokH
local.programmeComplex adaptive systems (MPCAS), MSc

Ladda ner

Original bundle

Visar 1 - 1 av 1
Hämtar...
Bild (thumbnail)
Namn:
Master Thesis Naron Berisha.pdf
Storlek:
1.27 MB
Format:
Adobe Portable Document Format

License bundle

Visar 1 - 1 av 1
Hämtar...
Bild (thumbnail)
Namn:
license.txt
Storlek:
2.35 KB
Format:
Item-specific license agreed upon to submission
Beskrivning: