DocumentCode :
2086679
Title :
Better Algorithms to Minimize the Cost of Test Paths
Author :
Li, Nan ; Li, Fei ; Offutt, Jeff
Author_Institution :
George Mason Univ., Fairfax, VA, USA
fYear :
2012
fDate :
17-21 April 2012
Firstpage :
280
Lastpage :
289
Abstract :
Model-based testing creates tests from abstract models of the software. These models are often described as graphs, and test requirements are defined as sub paths in the graphs. As a step toward creating concrete tests, complete (test) paths that include the sub paths through the graph are generated. Each test path is then transformed into a test. If we can generate fewer and shorter test paths, the cost of testing can be reduced. The minimum cost test paths problem is finding the test paths that satisfy all test requirements with the minimum cost. This paper presents new algorithms to solve the problem, and then presents data from an empirical comparison. The algorithms adapt approximation algorithms for the shortest super string problem. The comparison is with an existing tool that uses a brute force approach to extend each sub path to a complete path. One new algorithm is based on the greedy set-covering algorithm and the other is based on finding a matching over a prefix graph. The comparison was performed on open software and showed that both new solutions generate fewer test paths than the brute force approach. The prefix-graph based solution takes much less time than the other two solutions when the number of test requirements is large.
Keywords :
graph theory; greedy algorithms; minimisation; program testing; public domain software; set theory; string matching; approximation algorithms; brute force approach; complete test paths; concrete tests; cost minimization; graph models; greedy set-covering algorithm; model-based testing; open software; prefix graph; prefix-graph based solution; software abstract models; super string problem; test requirements; testing cost; Approximation algorithms; Approximation methods; Force; Heuristic algorithms; Minimization; Software; Testing; Algorithm; Model-based testing; Test criteria;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Software Testing, Verification and Validation (ICST), 2012 IEEE Fifth International Conference on
Conference_Location :
Montreal, QC
Print_ISBN :
978-1-4577-1906-6
Type :
conf
DOI :
10.1109/ICST.2012.108
Filename :
6200084
Link To Document :
بازگشت