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 条
  • [21] A lightweight adaptive random testing method for deep learning systems
    Mao, Chengying
    Song, Yue
    Chen, Jifu
    SOFTWARE-PRACTICE & EXPERIENCE, 2023, 53 (11) : 2271 - 2295
  • [22] An Adaptive Partition -Based Approach for Adaptive Random Testing on Real Programs
    Xia, Yisheng
    Sun, Weifeng
    Yan, Meng
    Xu, Lei
    Yang, Dan
    2023 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE ANALYSIS, EVOLUTION AND REENGINEERING, SANER, 2023, : 668 - 672
  • [23] Does Adaptive Random Testing Deliver a Higher Confidence than Random Testing?
    Chen, Tsong Yueh
    Kuo, Fei-Ching
    Liu, Huai
    Wong, W. Eric
    QSIC 2008: PROCEEDINGS OF THE EIGHTH INTERNATIONAL CONFERENCE ON QUALITY SOFTWARE, 2008, : 145 - +
  • [24] An object-oriented program to predict tractor and machine system performance
    Al-Janobi, AA
    Al-Hamed, SA
    PROCEEDINGS OF THE WORLD CONGRESS OF COMPUTERS IN AGRICULTURE AND NATURAL RESOURCES, 2001, : 477 - 483
  • [25] Adaptive Random Testing By Static Partitioning
    Sabor, Korosh Koochekian
    Thiel, Stuart
    10TH INTERNATIONAL WORKSHOP ON AUTOMATION OF SOFTWARE TEST AST 2015, 2015, : 28 - 32
  • [26] MT-PART: Metamorphic-Testing-Based Adaptive Random Testing Through Partitioning
    Ying, Zhihao
    Towey, Dave
    Chen, Tsong Yueh
    Zhou, Zhi Quan
    2024 IEEE 48TH ANNUAL COMPUTERS, SOFTWARE, AND APPLICATIONS CONFERENCE, COMPSAC 2024, 2024, : 1184 - 1193
  • [27] Adaptive random testing with CG constraint
    Chan, FT
    Chan, KP
    Chen, TY
    Yiu, SM
    PROCEEDINGS OF THE 28TH ANNUAL INTERNATIONAL COMPUTER SOFTWARE AND APPLICATION CONFERENCE, WORKSHOP AND FAST ABSTRACTS, 2004, : 96 - 99
  • [28] On favourable conditions for adaptive random testing
    Chen, Tsong Yueh
    Kuo, Fei-Ching
    Zhou, Zhi Quan
    INTERNATIONAL JOURNAL OF SOFTWARE ENGINEERING AND KNOWLEDGE ENGINEERING, 2007, 17 (06) : 805 - 825
  • [29] Adaptive Random Testing Based on Two-Point Partitioning
    Mao, Chengying
    INFORMATICA-JOURNAL OF COMPUTING AND INFORMATICS, 2012, 36 (03): : 297 - 303
  • [30] Adaptive Random Testing for XSS Vulnerability
    Lv, Chengcheng
    Zhang, Long
    Zeng, Fanping
    Zhang, Jian
    2019 26TH ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE (APSEC), 2019, : 63 - 69