Reducing regression test size by exclusion

Gallagher, Keith, Hall, Tracy and Black, Sue E. (2007) Reducing regression test size by exclusion. In: Proceedings of the 2007 IEEE International Conference on Software Maintenance : October 2-5 , 2007 : Maison Internationale, Paris, France. IEEE, pp. 154-163. ISBN 9781424412563


Download (582kB)
Official URL:


Operational software is constantly evolving. Regression testing is used to identify the unintended consequences of evolutionary changes. As most changes affect only a small proportion of the system, the challenge is to ensure that the regression test set is both safe (all relevant tests are used) and inclusive (only relevant tests are used). Previous approaches to reducing test sets struggle to find safe and inclusive tests by looking only at the changed code. We use decomposition program slicing to safely reduce the size of regression test sets by identifying those parts of a system that could not have been affected by a change; this information will then direct the selection of regression tests by eliminating tests that are not relevant to the change. The technique properly accounts for additions and deletions of code. We extend and use Rothermel and Harrold's framework for measuring the safety of regression test sets and introduce new safety and precision measures that do not require a priori knowledge of the exact number of modification-revealing tests. We then analytically evaluate and compare our techniques for producing reduced regression test sets.

Item Type: Book Section
Subjects: University of Westminster > Science and Technology > Electronics and Computer Science, School of (No longer in use)
Depositing User: Miss Nina Watts
Date Deposited: 12 Jan 2010 11:00
Last Modified: 11 Aug 2010 14:36

Actions (login required)

Edit Item (Repository staff only) Edit Item (Repository staff only)