Test redundancy measurement based on coverage information: Evaluations and lessons learned

Negar Koochakzadeh*, Vahid Garousi, Frank Maurer

*Corresponding author for this work

Research output: Chapter in Book/Report/Conference proceedingConference contribution

14 Citations (Scopus)

Abstract

Measurement and detection of redundancy in test suites attempt to achieve test minimization which in turn can help reduce test maintenance costs, and to also ensure the integrity of test cases. Test suite reduction based on coverage information has been discussed in many previous works. However, the applications of such techniques on real test suites and realistic measurements of redundancy have not yet been experimented thoroughly. To address such a need, we formulate in this paper two experimental metrics for coverage-based measurement of test redundancy in the context of JUnit test suites. We then evaluate the approach by measuring the redundancy of four real Java projects. The automated measures are compared with manual redundancy decisions (performed through an inspection by a tester). The results and lessons learned are interesting and somewhat surprising in that besides they show usefulness of coverage information, they present a set of shortcomings (in terms of precision) for the simplistic coverage-based redundancy measurement approach as discussed in the literature. The root-cause analysis of our observations identify several key lessons learned which should help the testing researchers and practitioners in devising better techniques for more precise measurement of test redundancy.

Original languageEnglish
Title of host publicationProceedings - 2nd International Conference on Software Testing, Verification, and Validation, ICST 2009
Pages220-229
Number of pages10
DOIs
Publication statusPublished - 15 Jul 2009
Externally publishedYes
Event2nd International Conference on Software Testing, Verification, and Validation, ICST 2009 - Denver, CO, United States
Duration: 01 Apr 200904 Apr 2009

Conference

Conference2nd International Conference on Software Testing, Verification, and Validation, ICST 2009
Country/TerritoryUnited States
CityDenver, CO
Period01/04/200904/04/2009

ASJC Scopus subject areas

  • Software

Fingerprint

Dive into the research topics of 'Test redundancy measurement based on coverage information: Evaluations and lessons learned'. Together they form a unique fingerprint.

Cite this