DocumentCode
3131644
Title
Leveraging a Constraint Solver for Minimizing Test Suites
Author
Campos, Juan ; Abreu, Rui
Author_Institution
Dept. of Inf. Eng., Univ. of Porto, Porto, Portugal
fYear
2013
fDate
29-30 July 2013
Firstpage
253
Lastpage
259
Abstract
Software (regression) testing is performed to detect errors as early as possible and guarantee that changes did not affect the system negatively. As test suites tend to grow over time, (re-)executing the entire suite becomes prohibitive. We propose an approach, RZoltar, addressing this issue: it encodes the relation between a test case and its testing requirements (code statements in this paper) in a so-called coverage matrix, maps this matrix into a set of constraints, and computes a collection of optimal minimal sets (maintaining the same coverage as the original suite) by leveraging a fast constraint solver. We show that RZoltar efficiently (0.95 seconds on average) finds a collection of test suites that significantly reduce the size (64.88% on average) maintaining the same fault detection (as initial test suite), while the well-known greedy approach needs 11.23 seconds on average to find just one solution.
Keywords
constraint handling; fault diagnosis; program testing; RZoltar; constraint solver; coverage matrix; fault detection; greedy approach; regression testing; software testing; test case; test suite minimization; testing requirements; Complexity theory; Fault detection; Matrix converters; Minimization; Radio frequency; Software; Testing; Regression testing; constraint solver; empirical evaluation; fault detection; test suite reduction;
fLanguage
English
Publisher
ieee
Conference_Titel
Quality Software (QSIC), 2013 13th International Conference on
Conference_Location
Najing
Type
conf
DOI
10.1109/QSIC.2013.17
Filename
6605935
Link To Document