arrow
返回

Generating test data for both path coverage and fault detection using genetic algorithms

delete2013-09-28
delete17
PRE
AI
巩
巩敦卫 (Dunwei Gong)
Y
Yan Zhang *
DOI:10.1007/s11704-013-3024-3delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
The aim of software testing is to find faults in a program under test, so generating test data that can expose the faults of a program is very important. To date, current studies on generating test data for path coverage do not perform well in detecting low probability faults on the covered path. The automatic generation of test data for both path coverage and fault detection using genetic algorithms is the focus of this study. To this end, the problem is first formulated as a bi-objective optimization problem with one constraint whose objectives are the number of faults detected in the traversed path and the risk level of these faults, and whose constraint is that the traversed path must be the target path. An evolutionary algorithmis employed to solve the formulatedmodel, and several types of fault detectionmethods are given. Finally, the proposed method is applied to several real-world programs, and compared with a random method and evolutionary optimization method in the following three aspects: the number of generations and the time consumption needed to generate desired test data, and the success rate of detecting faults. The experimental results confirm that the proposed method can effectively generate test data that not only traverse the target path but also detect faults lying in it.
Keyword:
software testing
path coverage
fault detection
test data
multi-objective optimization
genetic algorithms
AI总结

AI总结

对已上传原文的论文进行重点信息的提取,主要内容包括:简要概述、研究摘要、背景介绍、关键亮点、图文解析、展望与总结。

期刊

Frontiers of Computer Science 封面图
Frontiers of Computer Science
IF:
4.6
论文数:
1.6K
被引数:
2.8K

机构

暂无机构信息
引用论文

引用论文

err分享
err收藏
Raman studies of Japanese art objects by a portable Raman spectrometer using liquid crystal tunable filters
err2011-10-27
err0
PREAI
errAkira Sakamoto; Shukichi Ochiai; Hisamitsu Higashiyama; Koji Masutani; Jun‐ichi Kimura; Emi Koseto‐Horyu; Mitsuo Tasumi
err分享
err收藏
Sustainable Buildings in Practice
err
IF0
err2010-01-29
err0
PREAI
errGeorge Baird
err分享
err收藏
学者 查看更多内容