Abstract
Regression test-selection techniques reduce the cost of regression testing by selecting a subset of an existing test suite to use in retesting a modified program. Over the past two decades, numerous regression test-selection techniques have been described in the literature. Initial empirical studies of some of these techniques have suggested that they can indeed benefit testers, but so far, few studies have empirically compared different techniques. In this paper, we present the results of a comparative empirical study of two safe regression test-selection techniques. The techniques we studied have been implemented as the tools DejaVu and TestTube; we compared these tools in terms of a cost model incorporating precision (ability to eliminate unnecessary test cases), analysis cost, and test execution cost. Our results indicate, that in many instances, despite its relative lack of precision, TestTube can reduce the time required for regression testing as much as the more precise DejaVu. In other instances, particularly where the time required to execute test cases is long, DejaVu's superior precision gives it a clear advantage over TestTube. Such variations in relative performance can complicate a tester's choice of which tool to use. Our experimental results suggest that a hybrid regression test-selection tool that combines features of TestTube and DejaVu may be an answer to these complications; we present an initial case study that demonstrates the potential benefit of such a tool.
- AGRAWAL, H., HORGAN, J., KRAUSER, E., AND LONDON, S. 1993. Incremental regression testing. In Proceedings of the Conference on Software Maintenance (Sept.). 348-357. Google Scholar
- BALCER, M., HASLING, W., AND OSTRAND, T. 1989. Automatic generation of test scripts from formal test specifications. In Proceedings of the ACM SIGSOFT '89 Third Symposium on Software Testing, Analysis, and Verification (TAV3, Key West, FL, Dec. 13-15), R. A. Kemmerer, Ed. ACM Press, New York, NY, 210-218. Google Scholar
- BALL, T. 1998. On the limit of control flow analysis for regression test selection. In Proceedings of ACM SIGSOFT International Symposium on Software Testing and Analysis (ISSTA '98, Clearwater Beach, FL, Mar. 2-5), W. Tracz, Ed. ACM Press, New York, NY, 134-142. Google Scholar
- BENEDUSI, P., CIMITILE, A., AND DE CARLINI, U. 1988. Post-maintenance testing based on path change analysis. In Proceedings of the Conference on Software Maintenance (Oct.). 352-361.Google Scholar
- BINKLEY, D. 1997. Semantics guided regression test cost reduction. IEEE Trans. Softw. Eng. 23, 8 (Aug.), 498-516. Google Scholar
- CHEN, Y.-F., ROSENBLUM,D.S.,AND VO, K.-P. 1994. TestTube: A system for selective regression testing. In Proceedings of the 16th International Conference on Software Engineering (ICSE '94, Sorrento, Italy, May 16-21), B. Fadini, L. Osterweil, and A. van Lamsweerde, Chairs. IEEE Computer Society Press, Los Alamitos, CA, 211-220. Google Scholar
- GRAVES, T., HARROLD,M.J.,KIM, J.-M., PORTER, A., AND ROTHERMEL, G. 1998. An empirical study of regression test selection techniques. In Proceedings of the 20th International Conference on Software Engineering (ICSE '98, Kyoto, Japan, Apr.). IEEE Press, Piscataway, NJ. Google Scholar
- GUPTA, R., HARROLD,M.J.,AND SOFFA, M. 1992. An approach to regression testing using slicing. In Proceedings of the 1992 Conference on Software Maintenance (Nov.). 299-308.Google Scholar
- HARROLD,M.J.AND ROTHERMEL, G. 1997. Aristotle: A system for research on and development of program-analysis-based tools. OSU-CISRC-3/97-TR17. Ohio State University, Columbus, OH.Google Scholar
- HARROLD,M.J.AND SOFFA, M. L. 1988. An incremental approach to unit testing during maintenance. In Proceedings of the Conference on Software Maintenance (Oct.). 362-367.Google Scholar
- HARROLD,M.J.,ROSENBLUM, D., ROTHERMEL, G., AND WEYUKER, E. 2001. Empirical studies of a prediction model for regression test selection. IEEE Trans. Softw. Eng. Google Scholar
- HUTCHINS, M., FOSTER, H., GORADIA, T., AND OSTRAND, T. 1994. Experiments on the effectiveness of dataflow- and controlflow-based test adequacy criteria. In Proceedings of the 16th International Conference on Software Engineering (ICSE '94, Sorrento, Italy, May 16-21), B. Fadini, L. Osterweil, and A. van Lamsweerde, Chairs. IEEE Computer Society Press, Los Alamitos, CA, 191-200. Google Scholar
- LASKI,J.AND SZERMER, W. 1992. Identification of program modifications and its applications in software maintentance. In Proceedings of the 1992 Conference on Software Maintenance (Nov.). 282-290.Google Scholar
- LEUNG,H.AND WHITE, L. 1990. A study of integration testing and software regression at the integration level. In Proceedings of the Conference on Software Maintenance. 290-300.Google Scholar
- LEUNG,H.AND WHITE, L. 1991. A cost model to compare regression test strategies. In Proceedings of the Conference on Software Maintenance (Oct.). 201-208.Google Scholar
- OSTRAND,T.J.AND BALCER, M. J. 1988. The category-partition method for specifying and generating fuctional tests. Commun. ACM 31, 6 (June), 676-686. Google Scholar
- ROSENBLUM,D.AND ROTHERMEL, G. 1997. A comparative study of regression test-selection techniques. In Proceedings of the International Workshop on Empirical Studies of Software Maintenance (Oct.). 89-94.Google Scholar
- ROSENBLUM,D.S.AND WEYUKER, E. J. 1997. Using coverage information to predict the cost-effectiveness of regression testing strategies. IEEE Trans. Softw. Eng. 23, 3, 146-156. Google Scholar
- ROTHERMEL, G. 1996. Efficient, effective regression testing using safe test selection techniques. Ph.D. Dissertation. Clemson University, Clemson, SC. Google Scholar
- ROTHERMEL,G.AND HARROLD, M. J. 1996. Analyzing regression test selection techniques. IEEE Trans. Softw. Eng. 22, 8 (Aug.), 529-551. Google Scholar
- ROTHERMEL,G.AND HARROLD, M. J. 1997. A safe, efficient regression test selection technique. ACM Trans. Softw. Eng. Methodol. 6, 2, 173-210. Google Scholar
- ROTHERMEL,G.AND HARROLD, M. J. 1998. Empirical studies of a safe regression test selection technique. IEEE Trans. Softw. Eng. 24, 6, 401-419. Google Scholar
- VOKOLOS,F.I.AND FRANKL, P. G. 1997. Pythia: A regression test selection tool based on textual differencing. In IFIP TC5 WG5.4 3rd International Conference on Reliability, Quality and Safety of Software-Intensive Systems (ENCRESS '97, Athens, Greece, May 29-30), D. Gritzalis, Ed. Chapman and Hall, Ltd., London, UK, 3-21. Google Scholar
- VOKOLOS,F.I.AND FRANKL, P. G. 1998. Empirical evaluation of the textual differencing regression testing technique. In Proceedings of the International Conference on Software Maintenance (Nov.). 44-53. Google Scholar
- WHITE,L.AND LEUNG, H. 1992. A firewall concept for both control-flow and data-flow in regression integration testing. In Proceedings of the 1992 Conference on Software Maintenance (Nov.). 262-270.Google Scholar
- WHITE, L., NARAYANSWAMY, V., FRIEDMAN, T., KIRSCHENBAUM, M., PIWOWARSKI, P., AND OHA,M. 1993. Test manager: A regression testing tool. In Proceedings of the Conference on Software Maintenance (Sept.). 338-347. Google Scholar
Index Terms
- A comparative study of coarse- and fine-grained safe regression test-selection techniques
Recommendations
A safe, efficient regression test selection technique
Regression testing is an expensive but necessary maintenance activity performed on modified software to provide confidence that changes are correct and do not adversely affect other portions of the softwore. A regression test selection technique choses, ...
Empirical Studies of a Safe Regression Test Selection Technique
Regression testing is an expensive testing procedure utilized to validate modified software. Regression test selection techniques attempt to reduce the cost of regression testing by selecting a subset of a program's existing test suite. Safe regression ...
Comparing and combining test-suite reduction and regression test selection
ESEC/FSE 2015: Proceedings of the 2015 10th Joint Meeting on Foundations of Software EngineeringRegression testing is widely used to check that changes made to software do not break existing functionality, but regression test suites grow, and running them fully can become costly. Researchers have proposed test-suite reduction and regression test ...
Comments