We use a few cookies

Essential cookies keep the library working. With your permission, we'd also like to use analytics to see what's useful and improve the experience. Read our Privacy Policy or Cookie Policy.

Skip to main content
Home/e-Resources/Software Engineering/An Empirical Study of JUnit Test-Suite Reduction

Checking your access to this record.

Abstract & Overview

As test suites grow larger during software evolution, regression testing becomes expensive. To reduce the cost of regression testing, test-suite reduction aims to select a minimal subset of the original test suite that can still satisfy all the test requirements. While traditional test-suite reduction techniques were intensively studied on C programs with specially generated test suites, there are limited studies for test-suite reduction on programs with real-world test suites. In this paper, we investigate test-suite reduction techniques on Java programs with real-world JUnit test suites. We implemented four representative test-suite reduction techniques for JUnit test suites. We performed an empirical study on 19 versions of four real-world Java programs, ranging from 1.89 KLoC to 80.44 KLoC. Our study investigates both the benefits and the costs of test-suite reduction. The results show that the four traditional test-suite reduction techniques can effectively reduce these JUnit test suites without substantially reducing their fault-detection capability. Based on the results, we provide a guideline for achieving cost-effective JUnit test suite reduction.

Cite this record

Lingming Zhang, Darko Marinov, Lu Zhang, Sarfraz Khurshid (2011). An Empirical Study of JUnit Test-Suite Reduction. Proceedings/Proceedings - International Symposium on Software Reliability Engineering, 170–179. https://doi.org/10.1109/issre.2011.26

Copy in another style

Zhang, L., Marinov, D., Zhang, L., & Khurshid, S. (2011). An Empirical Study of JUnit Test-Suite Reduction. Proceedings/Proceedings - International Symposium on Software Reliability Engineering, 170–179. https://doi.org/10.1109/issre.2011.26
Author names are used as deposited, so check their order before you submit.

Metadata is harvested from open-access indexes and can be incomplete. Check a citation against the published version before relying on it — see our open access & attribution policy.