Title :
Random Generation of Test Inputs for Implicitly Defined Subdomains
Author :
Murphy, John A. ; Coppit, David
Author_Institution :
Coll. of William & Mary, Williamsburg
Abstract :
In traditional random testing, samples are taken from the set of all possible values for the input types. However, for many programs testing effectiveness can be improved by focusing on a relevant subdomain defined implicitly by the program behavior. This paper presents an algorithm for identifying and randomly selecting inputs from implicitly defined subdomains. The algorithm dynamically constructs and refines a model of the input domain and is biased toward sparsely covered regions in order to accelerate boundary identification and uniform coverage. This method has several desirable qualities: (1) it requires no knowledge of the source code of the software being tested, (2) inputs are selected from an approximately uniform distribution across the subdomain, and (3) algorithmic running time overhead is negligible. We present the requirements for a solution and our algorithm. We also evaluate our solution for both an artificial model and a real-world aircraft collision-avoidance program.
Keywords :
program testing; software fault tolerance; artificial model; boundary identification; implicitly defined subdomains; programs testing; random generation; real-world aircraft collision-avoidance program; uniform distribution; Acceleration; Aircraft; Automatic testing; Computer science; Educational institutions; Heuristic algorithms; Performance evaluation; Software algorithms; Software quality; Software testing;
Conference_Titel :
Automation of Software Test , 2007. AST '07. Second International Workshop on
Conference_Location :
Minneapolis, MN
Print_ISBN :
978-0-7695-2971-2
DOI :
10.1109/AST.2007.11