DocumentCode :
3141546
Title :
Bridging the gap between the total and additional test-case prioritization strategies
Author :
Lingming Zhang ; Dan Hao ; Lu Zhang ; Rothermel, Gregg ; Hong Mei
Author_Institution :
Key Lab. of High Confidence Software Technol., Peking Univ., Beijing, China
fYear :
2013
fDate :
18-26 May 2013
Firstpage :
192
Lastpage :
201
Abstract :
In recent years, researchers have intensively investigated various topics in test-case prioritization, which aims to re-order test cases to increase the rate of fault detection during regression testing. The total and additional prioritization strategies, which prioritize based on total numbers of elements covered per test, and numbers of additional (not-yet-covered) elements covered per test, are two widely-adopted generic strategies used for such prioritization. This paper proposes a basic model and an extended model that unify the total strategy and the additional strategy. Our models yield a spectrum of generic strategies ranging between the total and additional strategies, depending on a parameter referred to as the p value. We also propose four heuristics to obtain differentiated p values for different methods under test. We performed an empirical study on 19 versions of four Java programs to explore our results. Our results demonstrate that wide ranges of strategies in our basic and extended models with uniform p values can significantly outperform both the total and additional strategies. In addition, our results also demonstrate that using differentiated p values for both the basic and extended models with method coverage can even outperform the additional strategy using statement coverage.
Keywords :
Java; program testing; software fault tolerance; Java programs; fault detection; heuristics; regression testing; test-case prioritization strategies; Arrays; Educational institutions; Fault detection; Java; Measurement; Software; Testing;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Software Engineering (ICSE), 2013 35th International Conference on
Conference_Location :
San Francisco, CA
Print_ISBN :
978-1-4673-3073-2
Type :
conf
DOI :
10.1109/ICSE.2013.6606565
Filename :
6606565
Link To Document :
بازگشت