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
基金
中国博士后科学基金; 中国国家自然科学基金;
关键词
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 条
  • [1] Centroid Based Adaptive Random Testing for Object Oriented Program
    Putra, I. Putu Edy Suardiyana
    Mursanto, Petrus
    [J]. 2013 INTERNATIONAL CONFERENCE ON ADVANCED COMPUTER SCIENCE AND INFORMATION SYSTEMS (ICACSIS), 2013, : 39 - 45
  • [2] Method of the Object-oriented Program Exact Testing
    Wang, Xiaolan
    Zhang, Yanshuai
    He, Hong
    [J]. PROCEEDINGS OF INTERNATIONAL SYMPOSIUM ON COMPUTER SCIENCE AND COMPUTATIONAL TECHNOLOGY (ISCSCT 2009), 2009, : 39 - 44
  • [3] ARTOO: Adaptive Random Testing for Object-Oriented Software
    Ciupa, Ilinca
    Leitner, Andreas
    Oriol, Manuel
    Meyer, Bertrand
    [J]. ICSE'08 PROCEEDINGS OF THE THIRTIETH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, 2008, : 71 - 80
  • [4] A Modified Similarity Metric for Unit Testing of Object-Oriented Software Based on Adaptive Random Testing
    Chen, Jinfu
    Kudjo, Patrick Kwaku
    Zhang, Zufa
    Su, Chenfei
    Guo, Yuchi
    Huang, Rubing
    Song, Heping
    [J]. INTERNATIONAL JOURNAL OF SOFTWARE ENGINEERING AND KNOWLEDGE ENGINEERING, 2019, 29 (04) : 577 - 606
  • [5] A cost-effective adaptive random testing algorithm for object-oriented software testing
    Zhou, Yue
    Wang, Xiujun
    Guo, Shu
    Wen, Yi
    He, Jingsha
    [J]. JOURNAL OF INTELLIGENT & FUZZY SYSTEMS, 2021, 41 (03) : 4415 - 4423
  • [6] An expert system for object-oriented program testing
    Chen, WC
    Chen, DJ
    Chen, DTK
    [J]. INTERNATIONAL SOCIETY FOR COMPUTERS AND THEIR APPLICATIONS 13TH INTERNATIONAL CONFERENCE ON COMPUTERS AND THEIR APPLICATIONS, 1998, : 19 - 22
  • [7] Object-oriented testing
    Strooper, P
    [J]. TECHNOLOGY OF OBJECT-ORIENTED LANGUAGES AND SYSTEMS (TOOLS 25) - PROCEEDINGS, 1998, : 359 - 359
  • [8] Support for object-oriented testing
    Kölling, M
    Rosenberg, J
    [J]. TOOLS 28: TECHNOLOGY OF OBJECT-ORIENTED LANGUAGES, PROCEEDINGS, 1998, 28 : 204 - 215
  • [9] OBJECT-ORIENTED UNIT TESTING
    FIEDLER, SP
    [J]. HEWLETT-PACKARD JOURNAL, 1989, 40 (02): : 69 - 74
  • [10] OBJECT-ORIENTED INTEGRATION TESTING
    JORGENSEN, PC
    ERICKSON, C
    [J]. COMMUNICATIONS OF THE ACM, 1994, 37 (09) : 30 - 38