Context-Infused Automated Software Test Generation
Licentiate thesis, 2025
The research is structured around four key studies, each contributing to different aspects of automated testing. These studies investigate (i) machine learning-based test oracle generation, (ii) the role of search-based techniques in unit test automation, (iii) a systematic mapping of machine learning applications in test generation, and (iv) the optimization of multi-objective test generation strategies. Empirical evaluations are conducted using real-world software repositories and benchmark datasets to assess the effectiveness of the proposed methodologies.
Results demonstrate that incorporating machine learning models into search-based strategies improves test case relevance, enhances oracle automation, and optimizes test selection. Additionally, multi-objective optimization enables balancing various testing criteria, leading to more effective and efficient test suites. This thesis contributes to the advancement of automated software testing by expanding search-based test generation to integrate system-specific context through machine learning and multi-objective optimization. The findings provide insights into improving test case generation, refining oracle automation, and addressing key limitations in traditional approaches, with implications for both academia and industry in developing more intelligent and adaptive testing frameworks.
Software Testing
Search-Based Software Engineering
Search-Based Software Testing
Automated Test Generation
Public defence
Author
Afonso Fontes
Chalmers, Computer Science and Engineering (Chalmers), Interaction Design and Software Engineering
Included papers
Using Machine Learning to Generate Test Oracles: A Systematic Literature Review
TORACLE 2021 - Proceedings of the 1st International Workshop on Test Oracles, co-located with ESEC/FSE 2021,;(2021)p. 1-10
Paper in proceeding
Automated Support for Unit Test Generation
Natural Computing Series,;Vol. Part F1169(2023)p. 179-219
Book chapter
The integration of machine learning into automated test generation: A systematic mapping study
Software Testing Verification and Reliability,;Vol. 33(2023)
Journal article
Afonso Fontes, Gregory Gay, Robert Feldt. Exploring the Interaction of Code Coverage and Non-Coverage Objectives in Search-Based Test Generation
Manuscript
Research Project(s)
Context-Infused Automated Software Test Generation
Swedish Research Council (VR) (2019-05275), 2020-01-01 -- 2023-12-31.
Categorizing
Subject Categories (SSIF 2025)
Software Engineering
Other
Publisher
Chalmers