Compacting regression-suites on-the-fly
- 22 November 2002
- proceedings article
- Published by Institute of Electrical and Electronics Engineers (IEEE)
Abstract
Testing is one of the biggest problems of the software industry. Coverage is the main technique for showing that the testing has been thorough. Coverage can be used to find a good regression suite, i.e. a set of tests that is run on the application after sofware or data changes in order to check that no new bugs were introduced. This paper is about the experience gained in IBM Haifa Research Lab (HRL) in creating regression suites and minimizing their size, while maintaining high quality as measured in coverage. The problem we solve, while similar to the one addressed in the literature, has a key difference; the compaction algorithm is implemented online due to the large number of tests processed. We compare strategies for implementing online set-cover. The trade-offs are between the solution quality (as expressed by the size of the cover), the size of the intermediate sets and the computational resources. We show that it is possible to start discarding tests very early without getting a significantly larger final set.Keywords
This publication has 8 references indexed in Scilit:
- COMPACTEST: A METHOD TO GENERATE COMPACT TEST SETS FOR COMBINATIONAL CIRCUITSPublished by Institute of Electrical and Electronics Engineers (IEEE) ,2005
- Test set compaction for combinational circuitsPublished by Institute of Electrical and Electronics Engineers (IEEE) ,2003
- A threshold of ln n for approximating set coverJournal of the ACM, 1998
- A tight analysis of the greedy algorithm for set coverPublished by Association for Computing Machinery (ACM) ,1996
- A modified greedy heuristic for the Set Covering problem with improved worst case boundInformation Processing Letters, 1993
- An algorithm for set covering problemEuropean Journal of Operational Research, 1987
- Approximation Algorithms for the Set Covering and Vertex Cover ProblemsSIAM Journal on Computing, 1982
- The Mythical Man-MonthPublished by Association for Computing Machinery (ACM) ,1975