Computer Science > Software Engineering
[Submitted on 21 Jun 2022 (v1), last revised 16 Apr 2023 (this version, v5)]
Title:The Integration of Machine Learning into Automated Test Generation: A Systematic Mapping Study
View PDFAbstract:Context: Machine learning (ML) may enable effective automated test generation.
Objective: We characterize emerging research, examining testing practices, researcher goals, ML techniques applied, evaluation, and challenges.
Methods: We perform a systematic mapping on a sample of 124 publications.
Results: ML generates input for system, GUI, unit, performance, and combinatorial testing or improves the performance of existing generation methods. ML is also used to generate test verdicts, property-based, and expected output oracles. Supervised learning - often based on neural networks - and reinforcement learning - often based on Q-learning - are common, and some publications also employ unsupervised or semi-supervised learning. (Semi-/Un-)Supervised approaches are evaluated using both traditional testing metrics and ML-related metrics (e.g., accuracy), while reinforcement learning is often evaluated using testing metrics tied to the reward function.
Conclusion: Work-to-date shows great promise, but there are open challenges regarding training data, retraining, scalability, evaluation complexity, ML algorithms employed - and how they are applied - benchmarks, and replicability. Our findings can serve as a roadmap and inspiration for researchers in this field.
Submission history
From: Gregory Gay [view email][v1] Tue, 21 Jun 2022 09:26:25 UTC (3,863 KB)
[v2] Thu, 23 Jun 2022 13:42:02 UTC (3,846 KB)
[v3] Fri, 9 Dec 2022 07:09:38 UTC (4,755 KB)
[v4] Fri, 24 Mar 2023 07:45:50 UTC (10,924 KB)
[v5] Sun, 16 Apr 2023 03:43:15 UTC (10,924 KB)
References & Citations
Bibliographic and Citation Tools
Bibliographic Explorer (What is the Explorer?)
Litmaps (What is Litmaps?)
scite Smart Citations (What are Smart Citations?)
Code, Data and Media Associated with this Article
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub (What is DagsHub?)
Gotit.pub (What is GotitPub?)
Papers with Code (What is Papers with Code?)
ScienceCast (What is ScienceCast?)
Demos
Recommenders and Search Tools
Influence Flower (What are Influence Flowers?)
Connected Papers (What is Connected Papers?)
CORE Recommender (What is CORE?)
arXivLabs: experimental projects with community collaborators
arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.
Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.
Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.