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 条
  • [1] A cost-effective adaptive random testing algorithm for object-oriented software testing
    Zhou, Yue
    Wang, Xiujun
    Guo, Shu
    Wen, Yi
    He, Jingsha
    JOURNAL OF INTELLIGENT & FUZZY SYSTEMS, 2021, 41 (03) : 4415 - 4423
  • [2] 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
    INTERNATIONAL JOURNAL OF SOFTWARE ENGINEERING AND KNOWLEDGE ENGINEERING, 2019, 29 (04) : 577 - 606
  • [3] OBJECT-ORIENTED SOFTWARE TESTING
    BINDER, RV
    COMMUNICATIONS OF THE ACM, 1994, 37 (09) : 28 - 29
  • [4] Study of Integrating Random and Symbolic Testing for Object-Oriented Software
    Dimjasevic, Marko
    Howar, Falk
    Luckow, Kasper
    Rakamari, Zvonimir
    INTEGRATED FORMAL METHODS, IFM 2018, 2018, 11023 : 89 - 109
  • [5] Toward a K-means clustering approach to adaptive random testing for object-oriented software
    Jinfu CHEN
    Minmin ZHOU
    T H TSE
    Tsong Yueh CHEN
    Yuchi GUO
    Rubing HUANG
    Chengying MAO
    Science China(Information Sciences), 2019, 62 (11) : 204 - 205
  • [6] Toward a K-means clustering approach to adaptive random testing for object-oriented software
    Jinfu Chen
    Minmin Zhou
    T. H. Tse
    Tsong Yueh Chen
    Yuchi Guo
    Rubing Huang
    Chengying Mao
    Science China Information Sciences, 2019, 62
  • [7] Toward a K-means clustering approach to adaptive random testing for object-oriented software
    Chen, Jinfu
    Zhou, Minmin
    Tse, T. H.
    Chen, Tsong Yueh
    Guo, Yuchi
    Huang, Rubing
    Mao, Chengying
    SCIENCE CHINA-INFORMATION SCIENCES, 2019, 62 (11)
  • [8] Testing object-oriented software: a survey
    RBSC Corp, Chicago, United States
    Software Testing Verification and Reliability, 1996, 6 (3-4) : 125 - 252
  • [9] Automatic testing of object-oriented software
    Meyer, Bertrand
    Ciupa, Ilinca
    Leitner, Andreas
    Liu, Lisa Ling
    SOFSEM 2007: THEORY AND PRACTICE OF COMPUTER SCIENCE, PROCEEDINGS, 2007, 4362 : 114 - +
  • [10] Extension of Object-Oriented Software Testing Techniques to Agent Oriented Software Testing
    Srivastava, Praveen Ranjan
    Anand, Karthik, V
    Rastogi, Mayuri
    Yadav, Vikrant
    Raghurama, G.
    JOURNAL OF OBJECT TECHNOLOGY, 2008, 7 (08): : 155 - 163