arrow
返回

Automated Software Test Data Generation With Generative Adversarial Networks

delete2022-01-01
delete8
delete
OA
AI
X
Xiujing Guo *
H
Hiroyuki Okamura
T
Tadashi Dohi
DOI:10.1109/ACCESS.2022.3153347delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
With the rapid increase of software scale and complexity, the cost of traditional software testing methods will increase faster than the scale of software. In order to improve test efficiency, it is particularly important to automatically generate high-quality test cases. This paper introduces a framework for automatic test data generation based on the generative adversarial network (GAN). GAN is employed to train a generative model over execution path information to learn the behavior of the software. Then we can use the trained generative model to produce new test data, and select the test data that can improve the branch coverage according to our proposed selection strategy. Compared to prior work, our proposed method is able to handle programs under test with large-scale branches without analyzing branch expressions. In the experiment, we exhibit the performance of our method by using two modules in GNU Scientific Library. In particular, we consider the application of our method in two testing scenarios; unit testing and integration testing, and conduct a series of experiments to compare the performance of three types of GAN models. Results indicate that the WGAN-GP shows the best performance in our framework. Compared with the random testing method, the WGAN-GP based framework improves the test coverage of five functions out of the seven in the unit testing.
Keyword:
Generative adversarial networks
Generators
Software
Codes
Training data
Fuzzing
Artificial neural networks
Software testing
test case generation
test input
execution path
GAN

期刊

IEEE Access 封面图
IEEE Access
IF:
3.6
论文数:
9.8W
被引数:
29.4W

机构

H
Hiroshima University
学者数:
2.1W
论文数: 1.5W
被引数: 1.3W
引用论文

引用论文

An automated framework for software test oracleoracle软件测试自动化框架
err2011-07-01
err44
PREAI
errShahamiri, Seyed Reza; Kadir, Wan Mohd Nasir Wan; Ibrahim, Suhaimi; Hashim, Siti Zaiton Mohd
err分享
err收藏
Distinct type II opsins in the eye decode light properties for background adaptation and behavioural background preference
err2021-10-12
err0
PREAI
errGabriel E. Bertolesi; Nilakshi Debnath; Karen Atkinson‐Leadbeater; Anna Niedzwiecka; Sarah McFarlane
err分享
err收藏
How Generative Adversarial Networks and Their Variants Work: An Overview
err2019-02-13
err218
errOAAI
errHong, Yongjun; Hwang, Uiwon; Yoo, Jaeyoon; Yoon, Sungroh
err分享
err收藏
FinTech in Bahrain: The Role of FinTech in Empowering Women
err2021-03-13
err0
PREAI
errHaya Yusuf Mohamed; Allam Hamdan; Magdalena Karolak; Anjum Razzaque; Bahaaeddin Alareeni
err分享
err收藏
err分享
err收藏
An Intelligent Fuzzing Data Generation Method Based on Deep Adversarial Learning
err2019-01-01
err30
errOAAI
errLi, Zhihui; Zhao, Hui; Shi, Jianqi; Huang, Yanhong; Xiong, Jiawen
err分享
err收藏
学者 查看更多内容