TY - GEN
T1 - Using coverage criteria on repok to reduce bounded-exhaustive test suites
AU - Bengolea, Valeria
AU - Aguirre, Nazareno
AU - Marinov, Darko
AU - Frias, Marcelo F.
PY - 2012
Y1 - 2012
N2 - Bounded-exhaustive exploration of test case candidates is a commonly employed approach for test generation in some contexts. Even when small bounds are used for test generation, executing the obtained tests may become prohibitive, despite the time for test generation not being prohibitive. In this paper, we propose a technique for reducing the size of bounded-exhaustive test suites. This technique is based on the application of coverage criteria on the representation invariant of the structure for which the suite was produced. More precisely, the representation invariant (which is often implemented as a repOK routine) is executed to determine how its code is exercised by (valid) test inputs. Different valid test inputs are deemed equivalent if they exercise the repOK code in a similar way according to a white-box testing criterion. These equivalences between test cases are exploited for reducing test suites by removing from the suite those tests that are equivalent to some test already present in the suite. We present case studies that evaluate the effectiveness of our technique. The results show that by reducing the size of bounded-exhaustive test suites up to two orders of magnitude, we obtain test suites whose efficacy measured as their mutant-killing ability is comparable to that of bounded-exhaustive test suites.
AB - Bounded-exhaustive exploration of test case candidates is a commonly employed approach for test generation in some contexts. Even when small bounds are used for test generation, executing the obtained tests may become prohibitive, despite the time for test generation not being prohibitive. In this paper, we propose a technique for reducing the size of bounded-exhaustive test suites. This technique is based on the application of coverage criteria on the representation invariant of the structure for which the suite was produced. More precisely, the representation invariant (which is often implemented as a repOK routine) is executed to determine how its code is exercised by (valid) test inputs. Different valid test inputs are deemed equivalent if they exercise the repOK code in a similar way according to a white-box testing criterion. These equivalences between test cases are exploited for reducing test suites by removing from the suite those tests that are equivalent to some test already present in the suite. We present case studies that evaluate the effectiveness of our technique. The results show that by reducing the size of bounded-exhaustive test suites up to two orders of magnitude, we obtain test suites whose efficacy measured as their mutant-killing ability is comparable to that of bounded-exhaustive test suites.
UR - http://www.scopus.com/inward/record.url?scp=84862189109&partnerID=8YFLogxK
UR - http://www.scopus.com/inward/citedby.url?scp=84862189109&partnerID=8YFLogxK
U2 - 10.1007/978-3-642-30473-6_4
DO - 10.1007/978-3-642-30473-6_4
M3 - Conference contribution
AN - SCOPUS:84862189109
SN - 9783642304729
T3 - Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
SP - 19
EP - 34
BT - Tests and Proofs - 6th International Conference, TAP 2012, Proceedings
T2 - 6th International Conference on Tests and Proofs, TAP 2012
Y2 - 31 May 2012 through 1 June 2012
ER -