Testing and Debugging in Continuous Integration with Budget Quotas on Test Executions
Authors:
- 13 October 2016
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 439-447
Abstract
In Continuous Integration, a software application is developed through a series of development sessions, each with limited time allocated to testing and debugging on each of its modules. Test Case Prioritization can help execute test cases with higher failure estimate earlier in each session. When the testing time is limited, executing such prioritized test cases may only produce partial and prioritized execution coverage data. To identify faulty code, existing Spectrum-Based Fault Localization techniques often use execution coverage data but without the assumption of execution coverage priority. Is it possible to decompose these two steps for optimization within individual steps? In this paper, we study to what extent the selection of test case prioritization techniques may reduce its influence on the effectiveness of spectrum-based fault localization, thereby showing the possibility to decompose the process of continuous integration for optimization in workflow steps. We present a controlled experiment using the Siemens suite as subjects, nine test case prioritization techniques and four spectrum-based fault localization techniques. The findings showed that the studied test cases prioritization and spectrum-based fault localization can be customized separately, and, interestingly, prioritization over a smaller test suite can enable spectrum-based fault localization to achieve higher accuracy by assigning faulty statements with higher ranks.Keywords
This publication has 26 references indexed in Scilit:
- The Most Representative Composite Rank Ordering of Multi-Attribute Objects by the Particle Swarm OptimizationSSRN Electronic Journal, 2009
- An empirical study of the effects of test-suite reduction on fault localization2008
- On the Accuracy of Spectrum-based Fault Localization2007
- An empirical evaluation of test case filtering techniques based on exercising complex information flows2005
- SOBERACM SIGSOFT Software Engineering Notes, 2005
- Scalable statistical bug isolationACM SIGPLAN Notices, 2005
- A comparison of coverage-based and distribution-based techniques for filtering and prioritizing test cases2005
- Visualization of test information to assist fault localization2002
- Pursuing failure2001
- Prioritizing test cases for regression testingACM SIGSOFT Software Engineering Notes, 2000