Partition testing vs. random testing: The influence of uncertainty

被引:79
|
作者
Gutjahr, WJ [1 ]
机构
[1] Univ Vienna, Dept Stat Operat Res & Comp Sci, A-1010 Vienna, Austria
关键词
decisions under uncertainty; fault detection; partition testing; program testing; random testing; software testing;
D O I
10.1109/32.815325
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
This paper compares partition testing and random testing on the assumption that program failure rates are not known with certainty before testing and are, therefore, modeled by random variables. It is shown that under uncertainty, partition testing compares more favorably to random testing than suggested by prior investigations concerning the deterministic case: The restriction to failure rates that are known with certainty systematically favors random testing. In particular, we generalize a result by Weyuker and Jeng stating equal fault detection probabilities for partition testing and random testing in the case where the failure rates in the subdomains defined by the partition are equal. It turns out that for independent random failure rates with equal expectation, the case above is a boundary case (the worst case for partition testing), and the fault detection probability of partition testing can be up to k times higher than that of random testing, where k is the number of subdomains. Also in a related model for dependent failure rates, partition testing turns out to be consistently better than random testing. The dominance can also be verified for the expected (weighted) number of detected faults as an alternative comparison criterion.
引用
收藏
页码:661 / 674
页数:14
相关论文
共 50 条
  • [1] On comparisons of random, partition, and proportional partition testing
    Ntafos, SC
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2001, 27 (10) : 949 - 960
  • [2] Testing vs. cleanroom
    Zvegintzov, Nicholas
    [J]. Managing System Development, 1996, 16 (04):
  • [3] GUI testing assisted by human knowledge: Random vs. functional
    Yang, Weiran
    Chen, Zhenyu
    Gao, Zebao
    Zou, Yunxiao
    Xu, Xiaoran
    [J]. JOURNAL OF SYSTEMS AND SOFTWARE, 2014, 89 : 76 - 86
  • [4] ON THE RELATIONSHIP BETWEEN PARTITION AND RANDOM TESTING
    CHEN, TY
    YU, YT
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1994, 20 (12) : 977 - 980
  • [5] Adaptive and Random Partition Software Testing
    Lv, Junpeng
    Hu, Hai
    Cai, Kai-Yuan
    Chen, Tsong Yueh
    [J]. IEEE TRANSACTIONS ON SYSTEMS MAN CYBERNETICS-SYSTEMS, 2014, 44 (12): : 1649 - 1664
  • [6] Random vs. scenario-based vs. fault-based testing - An industrial evaluation of formal black-box testing methods
    Weiglhofer, Martin
    Wotawa, Franz
    [J]. ENASE 2008: PROCEEDINGS OF THE THIRD INTERNATIONAL CONFERENCE ON EVALUATION OF NOVEL APPROACHES TO SOFTWARE ENGINEERING, 2008, : 115 - 122
  • [7] Comparing random testing with partition testing without test cases replacement
    Fang, Mu-Yun
    Zhao, Bao-Hua
    Qu, Yu-Gui
    [J]. Ruan Jian Xue Bao/Journal of Software, 2001, 12 (11): : 1687 - 1692
  • [8] Field Testing vs. Physiological Testing in Novice Marathoners
    Lundstrom, Christopher J.
    Ingraham, Stacy J.
    Rhodes, Gregory S.
    [J]. MEDICINE AND SCIENCE IN SPORTS AND EXERCISE, 2012, 44 : 786 - 786
  • [9] Antirandom vs. pseudorandom testing
    Wu, S
    Malaiya, YK
    Jayasumana, AP
    [J]. INTERNATIONAL CONFERENCE ON COMPUTER DESIGN: VLSI IN COMPUTERS AND PROCESSORS, PROCEEDINGS, 1998, : 221 - 223
  • [10] Stochastic orders in partition and random testing of software
    Boland, PJ
    Singh, H
    Cukic, B
    [J]. JOURNAL OF APPLIED PROBABILITY, 2002, 39 (03) : 555 - 565