DocumentCode :
3257255
Title :
Encoding Test Requirements as Constraints for Test Suite Minimization
Author :
Campos, Juan ; Abreu, Rui
Author_Institution :
Fac. of Eng., Univ. of Porto, Porto, Portugal
fYear :
2013
fDate :
15-17 April 2013
Firstpage :
317
Lastpage :
322
Abstract :
Software (regression) testing is performed not only to detect errors as early as possible but also to guarantee that changes did not affect the system negatively. As test suites tend to grow over time, e.g., new test cases are added to test new features, (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 set of optimal solutions (maintaining the same coverage as the original suite) by leveraging a fast constraint solver. We show that RZoltar efficiently (0.68 seconds on average) finds a collection of test suites that significantly reduce the size of the original suite (61.12%), while greedy only finds one solution with a reduction of 56.58% in 6.92 seconds on average.
Keywords :
matrix algebra; minimisation; program testing; regression analysis; RZoltar; coverage matrix; encoding test requirement; regression testing; software testing; test suite minimization; Data structures; Encoding; Java; Matrix converters; Minimization; Software; Testing; Constraint solver; empirical evaluation; regression testing; test suite reduction;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Information Technology: New Generations (ITNG), 2013 Tenth International Conference on
Conference_Location :
Las Vegas, NV
Print_ISBN :
978-0-7695-4967-5
Type :
conf
DOI :
10.1109/ITNG.2013.51
Filename :
6614328
Link To Document :
بازگشت