Path-oriented random testing

  • Authors:
  • Arnaud Gotlieb;Matthieu Petit

  • Affiliations:
  • IRISA - INRIA, Campus Beaulieu, Rennes Cedex;IRISA - INRIA, Campus Beaulieu, Rennes Cedex

  • Venue:
  • Proceedings of the 1st international workshop on Random testing
  • Year:
  • 2006

Quantified Score

Hi-index 0.00

Visualization

Abstract

Test campaigns usually require only a restricted subset of paths in a program to be thoroughly tested. As random testing (RT) offers interesting fault-detection capacities at low cost, we face the problem of building a sequence of random test data that execute only a subset of paths in a program. We address this problem with an original technique based on backward symbolic execution and constraint propagation to generate random test data based on an uniform distribution. Our approach derives path conditions and computes an over-approximation of their associated subdomain to find such a uniform sequence. The challenging problem consists in building efficiently a path-oriented random test data generator by minimizing the number of rejects within the generated random sequence. Our first experimental results, conducted over a few academic examples, clearly show a dramatic improvement of our approach over classical random testing.