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 条
  • [31] Object-oriented testing
    Strooper, P
    TECHNOLOGY OF OBJECT-ORIENTED LANGUAGES AND SYSTEMS (TOOLS 25) - PROCEEDINGS, 1998, : 359 - 359
  • [32] Learning object-oriented programming using adaptive educational software
    Mellado-Silva, Rafael
    Cubillos Figueroa, Claudio
    Gaete Rodriguez, Alfonso
    2021 40TH INTERNATIONAL CONFERENCE OF THE CHILEAN COMPUTER SCIENCE SOCIETY (SCCC), 2021,
  • [33] EVOLVE: Adaptive specification techniques for object-oriented software evolution
    Liu, L
    PROCEEDINGS OF THE THIRTY-FIRST HAWAII INTERNATIONAL CONFERENCE ON SYSTEM SCIENCES, VOL V: MODELING TECHNOLOGIES AND INTELLIGENT SYSTEMS TRACK, 1998, : 396 - 405
  • [34] Research on the testing technique of the class in the object-oriented software development
    Cui, DH
    ICEMI'2003: PROCEEDINGS OF THE SIXTH INTERNATIONAL CONFERENCE ON ELECTRONIC MEASUREMENT & INSTRUMENTS, VOLS 1-3, 2003, : 2002 - 2005
  • [35] Research on object-oriented software testing cases of automatic generation
    1600, Academy Publisher, P.O.Box 40,, OULU, 90571, Finland (08):
  • [36] A reverse engineering approach for software testing of object-oriented programs
    Kung, D
    Hsia, P
    ASSET'99: 1999 IEEE SYMPOSIUM ON APPLICATION-SPECIFIC SYSTEMS AND SOFTWARE ENGINEERING & TECHNOLOGY - PROCEEDINGS, 1999, : 42 - 49
  • [37] Automatic Generation of Normal Forms for Testing Object-Oriented Software
    Chen, Huo Yan
    Tse, T. H.
    2009 NINTH INTERNATIONAL CONFERENCE ON QUALITY SOFTWARE (QSIC 2009), 2009, : 108 - +
  • [38] High-yield strategies for testing object-oriented software
    Lamarche, RC
    Probert, RL
    Radonjic, VD
    WORLD MULTICONFERENCE ON SYSTEMICS, CYBERNETICS AND INFORMATICS, VOL 1, PROCEEDINGS: ISAS '98, 1998, : 470 - 477
  • [39] Using evolutionary algorithms for the unit testing of object-oriented software
    Wappler, Stefan
    Lammermann, Frank
    GECCO 2005: GENETIC AND EVOLUTIONARY COMPUTATION CONFERENCE, VOLS 1 AND 2, 2005, : 1053 - 1060
  • [40] Object-oriented perspective on software system testing in a distributed environment
    Campbell, MC
    Hinds, DK
    Kapetanakis, AV
    Levis, DS
    McFarland, SJ
    Miller, DJ
    Southworth, JS
    HEWLETT-PACKARD JOURNAL, 1995, 46 (06): : 75 - 81