Hostname: page-component-7b7567c8c-fvjsw Total loading time: 0 Render date: 2026-11-13T17:39:36.750Z Has data issue: false hasContentIssue false

Stochastic orders in partition and random testing of software

Published online by Cambridge University Press:  14 July 2016

Philip J. Boland*
Affiliation:
National University of Ireland, Dublin
Harshinder Singh*
Affiliation:
West Virginia University and Panjab University
Bojan Cukic*
Affiliation:
West Virginia University
*
∗ Postal address: Department of Statistics, National University of Ireland, Dublin, Belfield, Dublin 4, Ireland. Email address: philip.j.boland@ucd.ie
∗∗ Postal address: Department of Statistics, West Virginia University, Morgantown, WV 26506-6330, USA.
∗∗∗ Postal address: Department of Computer Science and Electrical Engineering, West Virginia University, Morgantown, WV 26506-6330, USA.

Abstract

Testing in order to produce software of high reliability is an area of major concern in software engineering. In an effort to find efficient methods of testing, the comparison of partition and random sampling testing methods has received considerable attention in the literature. A standard criterion for comparisons between random and partition testing, based on their expected efficacy in program debugging, is the probability of detecting at least one failure causing input in the program's domain. However, the goal in software testing is usually to find as many faults as possible in a reasonable period of time, and therefore stochastic comparisons of the number of faults obtained in partition and random testing may provide more valuable information on which testing procedures to use. We establish various conditions which guarantee that the number of faults discovered in partition testing is stochastically greater than the number discovered in random testing (using a fixed total sample size) for many of the well-established stochastic orders (including the usual stochastic order, the hazard rate order, the likelihood ratio order, and the variability order). The results established also allow us to obtain both upper and lower bounds with these stochastic orders for the sum of n independent Bernoulli random trials (with varying probability of success) in terms of the binomial distribution with parameters n and p.

Information

Type
Research Papers
Copyright
Copyright © Applied Probability Trust 2002 

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Article purchase

Temporarily unavailable