A Unified Test Case Prioritization Approach
Authors:
Open Access
- 23 December 2014
- journal article
- research article
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Software Engineering and Methodology
- Vol. 24 (2) , 1-31
Abstract
Test case prioritization techniques attempt to reorder test cases in a manner that increases the rate at which faults are detected during regression testing. Coverage-based test case prioritization techniques typically use one of two overall strategies: a total strategy or an additional strategy . These strategies prioritize test cases based on the total number of code (or code-related) elements covered per test case and the number of additional (not yet covered) code (or code-related) elements covered per test case, respectively. In this article, we present a unified test case prioritization approach that encompasses both the total and additional strategies. Our unified test case prioritization approach includes two models ( basic and extended ) by which a spectrum of test case prioritization techniques ranging from a purely total to a purely additional technique can be defined by specifying the value of a parameter referred to as the f p value. To evaluate our approach, we performed an empirical study on 28 Java objects and 40 C objects, considering the impact of three internal factors (model type, choice of f p value, and coverage type) and three external factors (coverage granularity, test case granularity, and programming/testing paradigm), all of which can be manipulated by our approach. Our results demonstrate that a wide range of techniques derived from our basic and extended models with uniform f p values can outperform purely total techniques and are competitive with purely additional techniques. Considering the influence of each internal and external factor studied, the results demonstrate that various values of each factor have nontrivial influence on test case prioritization techniques.Keywords
Funding Information
- Division of Computer and Network Systems
- National Natural Science Foundation of China
- Air Force Office of Scientific Research
- Ministry of Science and Technology of the People's Republic of China (2013AA01A605)
- Science Fund for Creative Research Groups
This publication has 49 references indexed in Scilit:
- Cooperative Software Testing and Analysis: Advances and ChallengesJournal of Computer Science and Technology, 2014
- Injecting mechanical faults to localize developer faults for evolving software2013
- Comparing non-adequate test suites using coverage criteria2013
- Is This a Bug or an Obsolete Test?2013
- Comparing logic coverage criteria on test case prioritizationScience China Information Sciences, 2012
- Data flow testing of service-oriented workflow applications2008
- MuJava: an automated class mutation systemSoftware Testing, Verification and Reliability, 2004
- Test case prioritization: a family of empirical studiesIEEE Transactions on Software Engineering, 2002
- The Maximum Familywise Error Rate of Fisher's Least Significant Difference TestJournal of the American Statistical Association, 1986
- Computer Solutions of the Traveling Salesman ProblemBell System Technical Journal, 1965