A Testing Method for Object-oriented Program based on Adaptive Random Testing with Variable Probability

被引:0
作者
Lv, Tianxiang [1 ]
Bao, Qihao [1 ]
Chen, Haibo [1 ]
Zhang, Chi [1 ]
机构
[1] Jiangsu Univ, Sch Comp Sci & Commun Engn, Zhenjiang 212013, Jiangsu, Peoples R China
来源
2021 21ST INTERNATIONAL CONFERENCE ON SOFTWARE QUALITY, RELIABILITY AND SECURITY COMPANION (QRS-C 2021) | 2021年
基金
中国国家自然科学基金; 中国博士后科学基金;
关键词
Object-oriented Program; Probability Density Function; Adaptive Random Testing;
D O I
10.1109/QRS-C55045.2021.00171
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Object-oriented program (OOP) is very popular in these years for its advantages, but the testing method for OOP is still not mature enough. To deal with the problem that it is impossible to generate the probability density function by simply numeralizing a point in the lest case caused by the complex structure of the object-oriented test case, we propose the Adaptive Random Testing through Test Profile for Object-Oriented software (ART(TP)-OO). It generates a test case at the edge of the input field and calculates the distance between object-oriented test cases using Object and Method Invocation Sequence Similarity (OMISS) metric formula. And the probability density function is generated by the distance to select the test cases, thereby realizing the application of ART(TP) algorithm in OOP. The experimental results indicate the proposed ART(TP)-OO consumes less time cusi without reducing the detection effectiveness.
引用
收藏
页码:1155 / 1156
页数:2
相关论文
共 50 条
[31]   Adaptive Random Testing for XSS Vulnerability [J].
Lv, Chengcheng ;
Zhang, Long ;
Zeng, Fanping ;
Zhang, Jian .
2019 26TH ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE (APSEC), 2019, :63-69
[32]   Enhancing Path-Oriented Test Data Generation Using Adaptive Random Testing Techniques [J].
Nikravan, Esmaeel ;
Feyzi, Farid ;
Parsa, Saeed .
2015 2ND INTERNATIONAL CONFERENCE ON KNOWLEDGE-BASED ENGINEERING AND INNOVATION (KBEI), 2015, :509-512
[33]   On Adaptive Random Testing Through Iterative Partitioning [J].
Chen, Tsong Yueh ;
Huang, De Hao ;
Zhou, Zhi Quan .
JOURNAL OF INFORMATION SCIENCE AND ENGINEERING, 2011, 27 (04) :1449-1472
[34]   A Novel Evolutionary Approach for Adaptive Random Testing [J].
Tappenden, Andrew F. ;
Miller, James .
IEEE TRANSACTIONS ON RELIABILITY, 2009, 58 (04) :619-633
[35]   Adaptive random testing with enlarged input domain [J].
Mayer, Johannes ;
Schneckenburger, Christoph .
QSIC 2006: SIXTH INTERNATIONAL CONFERENCE ON QUALITY SOFTWARE, PROCEEDINGS, 2006, :251-+
[36]   Adaptive random testing through test profiles [J].
Liu, Huai ;
Xie, Xiaodong ;
Yang, Jing ;
Lu, Yansheng ;
Chen, Tsong Yueh .
SOFTWARE-PRACTICE & EXPERIENCE, 2011, 41 (10) :1131-1154
[37]   Adaptive random testing through dynamic partitioning [J].
Chen, TY ;
Eddy, G ;
Merkel, R ;
Wong, PK .
QSIC 2004: PROCEEDINGS OF THE FOURTH INTERNATIONAL CONFERENCE ON QUALITY SOFTWARE, 2004, :79-86
[38]   Adaptive Random Testing by Bisection and Comprehensive Distance [J].
Mao, Chengying ;
Quan, Mengting ;
Chen, Zhilei ;
Chen, Tsong Yueh .
STRUCTURED OBJECT-ORIENTED FORMAL LANGUAGE AND METHOD (SOFL+MSVL 2019), 2020, 12028 :328-344
[39]   Path Coverage Information for Adaptive Random Testing [J].
Sinaga, Arnaldo Marulitua ;
Hutajulu, Oscar Daniel ;
Hutahaean, Ruth Tabita ;
Hutagaol, Ida Christy .
PROCEEDINGS OF THE 2017 INTERNATIONAL CONFERENCE ON INFORMATION TECHNOLOGY (ICIT 2017), 2017, :248-252
[40]   Arselda: an Improvement on Adaptive Random Testing by Adaptive Region Selection [J].
Rezaalipour, Mohammad ;
Talebsafa, Lida ;
Vahidi-Asl, Mojtaba .
2018 8TH INTERNATIONAL CONFERENCE ON COMPUTER AND KNOWLEDGE ENGINEERING (ICCKE), 2018, :73-78