Reinforcement Learning with Advanced Neural Network Architectures for Test Case Prioritization
dc.contributor.author | Berisha, Naron | |
dc.contributor.department | Chalmers tekniska högskola / Institutionen för fysik | sv |
dc.contributor.department | Chalmers University of Technology / Department of Physics | en |
dc.contributor.examiner | Gustafsson, Kristian | |
dc.contributor.supervisor | Eliasson, Adrian | |
dc.date.accessioned | 2024-06-19T06:57:14Z | |
dc.date.available | 2024-06-19T06:57:14Z | |
dc.date.issued | 2024 | |
dc.date.submitted | ||
dc.description.abstract | This 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.coursecode | 2024 | |
dc.identifier.uri | http://hdl.handle.net/20.500.12380/307929 | |
dc.language.iso | eng | |
dc.setspec.uppsok | PhysicsChemistryMaths | |
dc.subject | Continuous Integration | |
dc.subject | Test Case Prioritization | |
dc.subject | Machine Learning | |
dc.subject | Neural Networks | |
dc.subject | Reinforcement Learning | |
dc.subject | Convolutional Neural Network | |
dc.subject | Dueling Network | |
dc.subject | Transformer | |
dc.title | Reinforcement Learning with Advanced Neural Network Architectures for Test Case Prioritization | |
dc.type.degree | Examensarbete för masterexamen | sv |
dc.type.degree | Master's Thesis | en |
dc.type.uppsok | H | |
local.programme | Complex adaptive systems (MPCAS), MSc |