DocumentCode :
3156083
Title :
Test Redundancy Measurement Based on Coverage Information: Evaluations and Lessons Learned
Author :
Koochakzadeh, Negar ; Garousi, Vahid ; Maurer, Frank
Author_Institution :
Dept. of Electr. & Comput. Eng., Univ. of Calgary, Calgary, AB
fYear :
2009
fDate :
1-4 April 2009
Firstpage :
220
Lastpage :
229
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.
Keywords :
Java; minimisation; program testing; redundancy; JUnit test suites; Java projects; coverage information; test minimization; test redundancy measurement; test suite reduction; Costs; Electric variables measurement; Fault detection; Inspection; Java; Redundancy; Software measurement; Software quality; Software testing; System testing; JUnit; Test Coverage; Test Maintenance; Test Redundancy;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Software Testing Verification and Validation, 2009. ICST '09. International Conference on
Conference_Location :
Denver, CO
Print_ISBN :
978-1-4244-3775-7
Electronic_ISBN :
978-0-7695-3601-9
Type :
conf
DOI :
10.1109/ICST.2009.8
Filename :
4815354
Link To Document :
بازگشت