ARTOO: Adaptive Random Testing for Object-Oriented Software

被引:0
|
作者
Ciupa, Ilinca [1 ]
Leitner, Andreas [1 ]
Oriol, Manuel [1 ]
Meyer, Bertrand [1 ]
机构
[1] ETH, Chair Software Engn, Zurich, Switzerland
关键词
software testing; adaptive random testing; object distance;
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Intuition is often not a good guide to know which testing strategies will work best. There is no substitute for experimental analysis based on objective criteria: how many faults a strategy finds, and how fast. "Random" testing is an example of an idea that intuitively seems simplistic or even dumb, but when assessed through such criteria can yield better results than seemingly smarter strategies. The efficiency of random testing is improved if the generated inputs are evenly spread across the input domain. This is the idea of Adaptive Random Testing (ART). ART was initially proposed for numerical inputs, on which a notion of distance is immediately available. To extend the ideas to the testing of object-oriented software, we have developed a notion of distance between objects and a new testing strategy called ARTOO, which selects as inputs objects that have the highest average distance to those already used as test inputs. ARTOO has been implemented as part of a tool for automated testing of object-oriented software. We present the ARTOO concepts, their implementation, and a set of experimental results of its application. Analysis of the results shows in particular that, compared to a directed random strategy, ARTOO reduces the number of tests generated until the first fault is found, in some cases by as much as two orders of magnitude. ARTOO also uncovers faults that the random strategy does not find in the time allotted, and its performance is more predictable.
引用
收藏
页码:71 / 80
页数:10
相关论文
共 50 条
  • [21] An Integration Testing Coverage Tool for Object-Oriented Software
    Augsornsri, Pachawan
    Suwannasart, Taratip
    2014 INTERNATIONAL CONFERENCE ON INFORMATION SCIENCE AND APPLICATIONS (ICISA), 2014,
  • [22] Testing the completeness and consistency of object-oriented software specification
    Zhu Lianzhang
    Zhang Mingqi
    ICCSE'2006: Proceedings of the First International Conference on Computer Science & Education: ADVANCED COMPUTER TECHNOLOGY, NEW EDUCATION, 2006, : 883 - 886
  • [23] BATOOM: A practical approach to testing object-oriented software
    Deng, Y
    He, ZT
    TOOLS 27: TECHNOLOGY OF OBJECT-ORIENTED LANGUAGES, PROCEEDINGS, 1998, : 328 - 337
  • [24] Exploration and Application of Object-Oriented Software Testing Strategy
    Qiu, Jianhua
    Chen, Yanqiu
    FUZZY SYSTEMS, KNOWLEDGE DISCOVERY AND NATURAL COMPUTATION SYMPOSIUM (FSKDNC 2013), 2013, : 111 - 120
  • [25] DEVELOPING AN OBJECT-ORIENTED SOFTWARE TESTING AND MAINTENANCE ENVIRONMENT
    KUNG, D
    GAO, J
    HSIA, P
    TOYOSHIMA, Y
    CHEN, C
    KIM, YS
    SONG, YK
    COMMUNICATIONS OF THE ACM, 1995, 38 (10) : 75 - 87
  • [26] Object-oriented software testing and metric in Z specification
    Chung, CM
    Shih, TK
    Wang, CC
    INFORMATION SCIENCES, 1997, 98 (1-4) : 175 - 202
  • [27] Search based software testing of object-oriented containers
    Arcuri, Andrea
    Yao, Xin
    INFORMATION SCIENCES, 2008, 178 (15) : 3075 - 3095
  • [28] Analysis and Research on Object-Oriented Software Testing Method
    Liu, Xin
    Zou, Weimei
    Bai, Junjie
    Luo, Chunqing
    Tong, Dejiang
    INTERNATIONAL CONFERENCE ON ELECTRICAL AND CONTROL ENGINEERING (ICECE 2015), 2015, : 594 - 598
  • [29] Object-oriented software testing - Some research and development
    Kung, DC
    Hsia, P
    Toyoshima, Y
    Chen, C
    Gao, J
    THIRD IEEE INTERNATIONAL HIGH-ASSURANCE SYSTEMS ENGINEERING SYMPOSIUM, PROCEEDINGS, 1998, : 158 - 165
  • [30] Test case prioritization for object-oriented software: An adaptive random sequence approach based on clustering
    Chen, Jinfu
    Zhu, Lili
    Chen, Tsong Yueh
    Towey, Dave
    Kuo, Fei-Ching
    Huang, Rubing
    Guo, Yuchi
    JOURNAL OF SYSTEMS AND SOFTWARE, 2018, 135 : 107 - 125