Nothing Special   »   [go: up one dir, main page]

skip to main content
10.1109/ICSM.2005.15guideproceedingsArticle/Chapter ViewAbstractPublication PagesConference Proceedingsacm-pubtype
Article

A Safe Regression Test Selection Technique for Database-Driven Applications

Published: 25 September 2005 Publication History

Abstract

Regression testing is a widely-used method for checking whether modifications to software systems have adversely affected the overall functionality. This is potentially an expensive process, since test suites can be large and time-consuming to execute. The overall costs can be reduced if tests that cannot possibly be affected by the modifications are ignored. Various techniques for selecting subsets of tests for re-execution have been proposed, as well as methods for proving that particular test selection criteria do not omit relevant tests. However, current selection techniques are focussed on identifying the impact of modifications on program state. They assume that the only factor that can change the result of a test case is the set of input values given for it, while all other influences on the behaviour of the program (such as external interrupts or hardware faults) will be constant for each re-execution of the test. This assumption is impractical in the case of an important class of software system, i.e. systems which make use of an external persistent state, such as a database management system, to share information between application invocations. If applied naively to such systems, existing regression test selection algorithms will omit certain test cases which could in fact be affected by the modifications to the code. In this paper, we show why this is the case, and propose a new definition of safety for regression test selection that takes into account the interactions of the program with a database state. We also present an algorithm and associated tool that safely performs test selection for database-drivenapplications, and (since efficiency is an important concern for test selection algorithms) we propose a variant that defines safety in terms of database state alone. This latter form of safety allows more efficient regression testing to be performed for applications in which program state is used only as a temporary holding space for data from the database. The claims of increased efficiency of both forms of safety are supported by the results of an empirical comparison with existing techniques.

Cited By

View all
  • (2024)Hybrid Regression Test Selection by Integrating File and Method DependencesProceedings of the 39th IEEE/ACM International Conference on Automated Software Engineering10.1145/3691620.3695525(1557-1569)Online publication date: 27-Oct-2024
  • (2019)Using machine learning to recommend correctness checks for geographic map dataProceedings of the 41st International Conference on Software Engineering: Software Engineering in Practice10.1109/ICSE-SEIP.2019.00032(223-232)Online publication date: 27-May-2019
  • (2017)Regression test selection across JVM boundariesProceedings of the 2017 11th Joint Meeting on Foundations of Software Engineering10.1145/3106237.3106297(809-820)Online publication date: 21-Aug-2017
  • Show More Cited By

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image Guide Proceedings
ICSM '05: Proceedings of the 21st IEEE International Conference on Software Maintenance
September 2005
665 pages
ISBN:0769523684

Publisher

IEEE Computer Society

United States

Publication History

Published: 25 September 2005

Qualifiers

  • Article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)0
  • Downloads (Last 6 weeks)0
Reflects downloads up to 16 Feb 2025

Other Metrics

Citations

Cited By

View all
  • (2024)Hybrid Regression Test Selection by Integrating File and Method DependencesProceedings of the 39th IEEE/ACM International Conference on Automated Software Engineering10.1145/3691620.3695525(1557-1569)Online publication date: 27-Oct-2024
  • (2019)Using machine learning to recommend correctness checks for geographic map dataProceedings of the 41st International Conference on Software Engineering: Software Engineering in Practice10.1109/ICSE-SEIP.2019.00032(223-232)Online publication date: 27-May-2019
  • (2017)Regression test selection across JVM boundariesProceedings of the 2017 11th Joint Meeting on Foundations of Software Engineering10.1145/3106237.3106297(809-820)Online publication date: 21-Aug-2017
  • (2016)Test Selection with Moose In IndustryProceedings of the 11th edition of the International Workshop on Smalltalk Technologies10.1145/2991041.2991058(1-8)Online publication date: 23-Aug-2016
  • (2016)Coverage-Aware Test Database ReductionIEEE Transactions on Software Engineering10.1109/TSE.2016.251903242:10(941-959)Online publication date: 1-Oct-2016
  • (2015)EkstaziProceedings of the 37th International Conference on Software Engineering - Volume 210.5555/2819009.2819146(713-716)Online publication date: 16-May-2015
  • (2015)Practical regression test selection with dynamic file dependenciesProceedings of the 2015 International Symposium on Software Testing and Analysis10.1145/2771783.2771784(211-222)Online publication date: 13-Jul-2015
  • (2014)An empirical evaluation and comparison of manual and automated test selectionProceedings of the 29th ACM/IEEE International Conference on Automated Software Engineering10.1145/2642937.2643019(361-372)Online publication date: 15-Sep-2014
  • (2014)Selecting manual regression test cases automatically using trace link recovery and change coverageProceedings of the 9th International Workshop on Automation of Software Test10.1145/2593501.2593506(29-35)Online publication date: 31-May-2014
  • (2014)Exploration and analysis of regression test suite optimizationACM SIGSOFT Software Engineering Notes10.1145/2557833.255784139:1(1-5)Online publication date: 11-Feb-2014
  • Show More Cited By

View Options

View options

Figures

Tables

Media

Share

Share

Share this Publication link

Share on social media