arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2302.07646cs.NEcs.AIcs.SE
收藏

大路径覆盖自动软件测试的遗传微程序

Genetic Micro-Programs for Automated Software Testing with Large Path Coverage

University of Pretoria(比勒陀利亚大学)

Jarrod Goschen, Anna Sergeevna Bosman, Stefan Gruner

摘要:

计算智能(CI)的不断发展导致人们越来越希望应用CI技术来改进软件工程过程,特别是软件测试。现有的最先进的自动化软件测试技术集中于利用搜索算法来发现实现高执行路径覆盖的输入值。这些算法是在他们打算测试的相同代码上训练的,需要仪器和漫长的搜索时间来测试每个软件组件。本文概述了一种新的遗传编程框架,进化的解决方案是不是输入值,但微程序,可以重复生成输入值,有效地探索一个软件组件的输入参数域。我们还认为,我们的方法可以推广,如适用于许多不同的软件系统,并因此不具体到仅仅是特定的软件组件上,它是训练。

英文摘要:

Ongoing progress in computational intelligence (CI) has led to an increased desire to apply CI techniques for the purpose of improving software engineering processes, particularly software testing. Existing state-of-the-art automated software testing techniques focus on utilising search algorithms to discover input values that achieve high execution path coverage. These algorithms are trained on the same code that they intend to test, requiring instrumentation and lengthy search times to test each software component. This paper outlines a novel genetic programming framework, where the evolved solutions are not input values, but micro-programs that can repeatedly generate input values to efficiently explore a software component's input parameter domain. We also argue that our approach can be generalised such as to be applied to many different software systems, and is thus not specific to merely the particular software component on which it was trained.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑