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 条
[41]   Enhanced Mirror Adaptive Random Testing Based on I/O Relation Analysis [J].
Nie, Janping ;
Qian, Yueying ;
Cui, Nan .
SOFTWARE ENGINEERING AND KNOWLEDGE ENGINEERING: THEORY AND PRACTICE, VOL 1, 2012, 114 :33-47
[42]   ARTDL: Adaptive Random Testing for Deep Learning Systems [J].
Yan, Min ;
Wang, Li ;
Fei, Aiguo .
IEEE ACCESS, 2020, 8 :3055-3064
[43]   OFART: OpenFlow-Switch Adaptive Random Testing [J].
Koo, Dong-Su ;
Park, Young B. .
ADVANCES IN COMPUTER SCIENCE AND UBIQUITOUS COMPUTING, 2017, 421 :631-636
[44]   Adaptive Random Testing: The ART of test case diversity [J].
Chen, Tsong Yueh ;
Kuo, Fei-Ching ;
Merkel, Robert G. ;
Tse, T. H. .
JOURNAL OF SYSTEMS AND SOFTWARE, 2010, 83 (01) :60-66
[45]   Random Border Mirror Transform: A diversity based approach to an effective and efficient mirror adaptive random testing [J].
Omari, Michael ;
Chen, Jinfu ;
Kudjo, Patrick Kwaku ;
Ackah-Arthur, Hilary ;
Huang, Rubing .
2019 IEEE 19TH INTERNATIONAL CONFERENCE ON SOFTWARE QUALITY, RELIABILITY AND SECURITY (QRS 2019), 2019, :54-61
[46]   MRGS-ART: Metamorphic Relation and Group Selection Based on Adaptive Random Testing [J].
Ying, Zhihao ;
Towey, Dave ;
Bellotti, Anthony Graham ;
Zhou, Zhi Quan .
SOFTWARE TESTING VERIFICATION & RELIABILITY, 2025, 35 (01)
[47]   Alias Analysis Method for Object-Oriented Programs Using Alias Flow Graphs [J].
Ohata, Fumiaki ;
Kondou, Kazuhiro ;
Inoue, Katsuro .
Systems and Computers in Japan, 2004, 35 (04) :49-59
[48]   Influence of the Distance Calculation Error on the Performance of Adaptive Random Testing [J].
Qi, Yuanchao ;
Wang, Ziyuan ;
Yao, Yongming .
2017 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE QUALITY, RELIABILITY AND SECURITY COMPANION (QRS-C), 2017, :316-319
[49]   Enhancing Adaptive Random Testing in High Dimensional Input Domains [J].
Kuo, F. -C. ;
Chen, T. Y. ;
Liu, H. ;
Chan, W. K. .
APPLIED COMPUTING 2007, VOL 1 AND 2, 2007, :1467-+
[50]   Impact of the compactness of failure regions on the performance of adaptive random testing [J].
Faculty of Information and Communication Technologies, Swinburne University of Technology, Melbourne, VIC 3122, Australia .
Ruan Jian Xue Bao, 2006, 12 (2438-2449) :2438-2449