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 条
  • [41] Visual testing software environment using Object-Oriented Programming
    Dai, JG
    Chen, GJ
    AUTOTESTCON 2000: IEEE SYSTEMS READINESS TECHNOLOGY CONFERENCE, PROCEEDINGS, 2000, : 328 - 333
  • [43] A Formal Model of Similarity Testing for Inheritance in Object-Oriented Software
    Benlhachmi, Khalid
    Benattou, Mohammed
    2012 COLLOQUIUM ON INFORMATION SCIENCE AND TECHNOLOGY (CIST'12), 2012, : 38 - 42
  • [44] A Method of Metamorphic Relations Constructing for Object-oriented Software Testing
    Zhang, Xinglong
    Yu, Lei
    Hou, Xuemei
    2016 17TH IEEE/ACIS INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, ARTIFICIAL INTELLIGENCE, NETWORKING AND PARALLEL/DISTRIBUTED COMPUTING (SNPD), 2016, : 399 - 405
  • [45] Adaptive Evolutionary Testing: An Adaptive Approach to Search-Based Test Case Generation for Object-Oriented Software
    Bregieiro Ribeiro, Jose Carlos
    Zenha-Rela, Mario Alberto
    de Vega, Francisco Fernandez
    NICSO 2010: NATURE INSPIRED COOPERATIVE STRATEGIES FOR OPTIMIZATION, 2010, 284 : 185 - +
  • [47] OBJECT-ORIENTED SOFTWARE EVOLUTION
    LIEBERHERR, KJ
    XIAO, C
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1993, 19 (04) : 313 - 343
  • [48] Debugging of object-oriented software
    Law, RCH
    Maguire, RB
    SEKE '96: THE 8TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING AND KNOWLEDGE ENGINEERING, PROCEEDINGS, 1996, : 77 - 84
  • [49] OBJECT-ORIENTED SOFTWARE TECHNOLOGY
    DEUTSCH, LP
    COMPUTER, 1991, 24 (09) : 112 - 113
  • [50] MAINTAINING OBJECT-ORIENTED SOFTWARE
    WILDE, N
    MATTHEWS, P
    HUITT, R
    IEEE SOFTWARE, 1993, 10 (01) : 75 - 80