On the Predictability of Random Tests for Object-Oriented Software

  • Authors:
  • Ilinca Ciupa;Alexander Pretschner;Andreas Leitner;Manuel Oriol;Bertrand Meyer

  • Affiliations:
  • -;-;-;-;-

  • Venue:
  • ICST '08 Proceedings of the 2008 International Conference on Software Testing, Verification, and Validation
  • Year:
  • 2008

Quantified Score

Hi-index 0.00

Visualization

Abstract

Intuition suggests that random testing of object-oriented programs should exhibit a significant difference in the number of faults detected by two different runs of equal duration. As a consequence, random testing would be rather unpredictable. We evaluate the variance of the number of faults detected by random testing over time. We present the results of an empirical study that is based on 1215 hours of randomly testing 27 Eiffel classes, each with 30 seeds ofthe random number generator. Analyzing over 6 million failures triggered during the experiments, the study provides evidence that the relative number of faults detected by random testing over time is predictable but that different runs of the random test case generator detect different faults. The study also shows that random testing quickly finds faults: the first failure is likely to be triggered within 30 seconds.