Automation of software test data generation using genetic algorithm and reinforcement learning

计算机科学 自动化 软件 测试管理方法 启发式 遗传算法 过程(计算) 试验数据 数据挖掘 模因算法 机器学习 基于搜索的软件工程 算法 人工智能 软件系统 软件开发 软件开发过程 软件建设 软件工程 机械工程 工程类 程序设计语言 操作系统
作者
Mehdi Esnaashari,Amir Hossein Damia
出处
期刊:Expert Systems With Applications [Elsevier BV]
卷期号:183: 115446-115446 被引量:80
标识
DOI:10.1016/j.eswa.2021.115446
摘要

Software testing is one of the most important methods of analyzing software quality assurance. This process is very time consuming and expensive and accounts for almost 50% of the software production cost. In addition to the cost problem, the nature of the test, which seeks errors in the program, is such that software engineers are not interested in doing the process, so we are looking to use automated methods to reduce the cost and time of the test. In the last decade, various methods have been introduced for the automatic test data generation, the purpose of which is to maximize the detection of errors by generating minimum amount of test data. The main issue in the test data generation process is to determine the input data of the program in such a way that it meets the specified test criterion. In this research, a structural method has been used in order to automate the process of test data generation considering the criterion of covering all finite paths. In structural methods, the problem is converted into a search problem and meta-heuristic algorithms are used to solve it. The proposed method in this paper is a memetic algorithm in which reinforcement learning is used as a local search method within a genetic algorithm. Experimental results have shown that this method is faster for test data generation than many existing evolutionary or meta-heuristic algorithms and can provide better coverage with fewer evaluations. Compared algorithms include: conventional genetic algorithm, a variety of improvements to the genetic algorithm, random search, particle swarm optimization, bees algorithm, ant colony optimization, simulated annealing, hill climbing, and tabu search.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
科研通AI6.3的应助被wxl采纳,获得10
刚刚
上官若男的应助被西余采纳,获得10
1秒前
FashionBoy的应助被JIAJIAJIA采纳,获得10
1秒前
核桃发布了新的文献求助10
2秒前
杪春发布了新的文献求助10
2秒前
科研通AI6.3的应助被zyy采纳,获得10
2秒前
y神发布了新的文献求助10
2秒前
何东玲发布了新的文献求助10
3秒前
曾经二娘完成签到,获得积分10
3秒前
if的应助被ubless607采纳,获得50
3秒前
水煮电吹风的应助被zhangmingyang采纳,获得10
4秒前
Dd18753801528完成签到,获得积分10
4秒前
Lucas的应助被飞飞飞飞飞飞采纳,获得10
4秒前
5秒前
ʚᵗᑋᵃᐢᵏ ᵞᵒᵘɞ完成签到,获得积分0
5秒前
无花果的应助被何东玲采纳,获得10
7秒前
大萌发布了新的文献求助10
7秒前
YYYYSO完成签到,获得积分10
7秒前
风中子轩完成签到,获得积分10
8秒前
9秒前
CipherSage的应助被叉叉采纳,获得10
10秒前
10秒前
李健的小迷弟的应助被Tuniverse_采纳,获得10
10秒前
养乐多完成签到,获得积分10
11秒前
11秒前
loess完成签到,获得积分10
11秒前
11秒前
11秒前
yz完成签到,获得积分10
11秒前
12秒前
huichenggong完成签到,获得积分10
12秒前
12秒前
大个的应助被糖布里部采纳,获得10
13秒前
何东玲完成签到,获得积分10
13秒前
zly关闭了zly的文献求助
14秒前
16秒前
爆米花的应助被Duang采纳,获得10
16秒前
LJN.up的应助被Tuniverse_采纳,获得10
16秒前
zyy发布了新的文献求助30
16秒前
郭航发布了新的文献求助10
17秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
拉伸高分子熔体中缠结行为的模拟和小角中子散射研究 1700
The World Atlas of Wine 9th edition 1000
奈特基础组织学:配套组织病理学(第4版)(Netter's Essential Histology With Correlated Histopathology) 800
八旗制度の研究 600
Boundaries and Bodhisattvas 500
高分子基功能界面水蒸发材料与应用研究 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 计算机科学 工程类 有机化学 化学工程 生物化学 物理 复合材料 内科学 催化作用 光电子学 人工智能 细胞生物学 无机化学 物理化学 数学
热门帖子
关注 科研通微信公众号,转发送积分 8181949
求助须知:如何正确求助?哪些是违规求助? 9571702
关于积分的说明 21819272
捐赠科研通 7778399
什么是DOI,文献DOI怎么找? 3433572
关于科研通互助平台的介绍 2557769
邀请新用户注册赠送积分活动 2479630