skip to main content
10.1145/1982185.1982488acmconferencesArticle/Chapter ViewAbstractPublication PagessacConference Proceedingsconference-collections
research-article

A test suite reduction approach based on pairwise interaction of requirements

Published: 21 March 2011 Publication History

Abstract

Test suite reduction is one of the effective techniques to reduce the cost of regression testing. In particular, it tries to identify and remove redundant test cases according to a specific test coverage criterion. However, the excessive reduction in test cases may also significantly weaken the fault detection ability of the original test suite. In this paper, we conjecture that covering interaction of test requirements can improve the fault detection ability and propose a new test suite reduction approach. As a preliminary study, we firstly propose a pairwise interaction based coverage criterion (PWIC). Then we propose a pairwise interaction of requirements based test suite reduction approach (PWIR). To assess the feasibility and usefulness of our proposed approach, we implement PWIR approach and conduct an empirical study on seven real C programs. After analyzing the results of the empirical studies, we conclude that our approach can improve the fault detection ability without severely increasing the reduced test suite size.

References

[1]
J. Black, E. Melachrinoudis and D. Kaeli. Bi-criteria Models for All-uses Test Suite Reduction. In Proceedings of the 26th International Conference on Software Engineering, pp. 106--115, 2004.
[2]
T. Y. Chen and M. F. Lau. A New Heuristic for Test Suite Reduction. Information and Software Technology, 4(5--6): pp. 347--354, 1998.
[3]
Z. Y. Chen, B. W. Xu, X. F. Zhang and C. H. Nie. A Novel Approach for Test Suite Reduction Based on Requirement Relation Contraction. In Proceedings of the 2008 ACM Symposium on Applied Computing, pp. 390--394, 2008.
[4]
H. Do, S. Elbaum and G. Rothermel. Supporting Controlled Experimentation with Testing Techniques: An Infrastructure and its Potential Impact. Empirical Software Engineering, 10(4): pp. 405--435, 2005.
[5]
M. Harder, J. Mellen and M. D. Ernst. Improving Test Suites via Operational Abstraction. In Proceedings of the 25th International Conference on Software Engineering, pp. 60--71, 2003.
[6]
M. J. Harrold, R. Gupta and M. L. Soffa. A Methodology for Controlling the Size of a Test Suite. ACM Transactions on Software Engineering and Methodology, 2(3): pp. 270--285, 1993.
[7]
M. J. Harrold and A. Orso. Retesting Software During Development and Maintenance. In Frontiers of Software Maintenance, pp. 99--108, 2008.
[8]
M. Heimdahl and D. George. Test-Suite Reduction for Model Based Tests: Effectds on Test Quality and Implications for Testing. In Proceedings of 19th International Conference on Automated Software Engineering, pp. 176--185, 2004.
[9]
J. R. Horgan and S. London. Data Flow Coverage and the C Language. In Proceedings of the Symposium on Testing, Analysis and Verification, pp. 87--97, 1991.
[10]
H. Hsu and A. Orso. MINTS: A General Framework and Tool for Supporting Test-suite Minimization. In Proceedings of the 31st International Conference on Software Engineering, pp. 419--429, 2009.
[11]
D. Jeffrey and N. Gupta. Improving Fault Detection Capability by Selectively Retaining Test Cases During Test Suite Reduction. IEEE Transactions on Software Engineering, 33(2), pp. 108--123, 2007.
[12]
J. A. Jones and M. J. Harrold. Test-Suite Reduction and Prioritization for Modified Condition/Decision Coverage. IEEE Transactions on Software Engineering, 29(3), pp. 195--209, 2003.
[13]
M. Martina and A. Bertolino. Using Spanning Sets for Coverage Testing. IEEE Transactions on Software Engineering, 29(11), pp. 974--984, 2003.
[14]
S. McMaster and A. Memon. Call-Stack Coverage for GUI Test Suite Reduction. IEEE Transactions on Software Engineering, 34(1), pp. 99--115, 2008.
[15]
A. S. Namin and D. H. Andrews. The Influence of Size and Coverage on Test Suite Effectiveness. In Proceedings of the 10th International Symposium on Software Testing and Analysis, pp. 57--67, 2009.
[16]
M. Nashat and E. Khalid. Simulated Annealing and Genetic Algorithms for Optimal Regression Testing. Journal of Software Maintenance: Research and Practice. 11(1), pp. 19--34, 1999.
[17]
G. Rothermel, M. J. Harrold, J. Ostrin and C. Hong. An Empirical Study of the Effects of Minimization on the Fault-detection Capabilities of Test Suites. In Proceedings of the 14th International Conference on Software Maintenance, pp. 34--43, 1998.
[18]
S. Sprenkle, S. Sampath, E. Gibson, L. Pollock and A. Souter. An Empirical Comparison of Test Suite Reduction Techniques for User-Session-Based Testing of Web Applications. In Proceedings of the 21st IEEE International Conference on Software Maintenance, pp. 587--596, 2005.
[19]
S. Tallam and N. Gupta. A Concept Analysis Inspired Greedy Algorithm for Test Suite Minimization. In Proceedings of the 6th ACM SIGPLAN-SIGSOFT Workshop on Program Analysis for Software Tools and Engineering, pp. 35--42, 2005.
[20]
B. Vaysburg, L. H. Tahat and B. Korel. Dependence Analysis in Reduction of Requirement based Test Suites. In Proceedings of the 3rd International Symposium on Software Testing and Analysis, pp. 107--111, 2002.
[21]
W. E. Wong, J. Horgan, S. London and A. Mathur. Effect of Test Set Minimization on Fault Detection Effectiveness. Software Practice and Experience. 28(4), pp. 347--369, 1998.
[22]
Y. B. Yu, J. A. Jones and M. J. Harrold. An Empirical Study of the Effects of Test-suite Reduction on Fault Localization. In Proceedings of the 30th International Conference on Software Engineering, pp. 201--210, 2008.
[23]
X. Zhang, Q. Gu, X. Chen, J. X. Qi and D. X. Chen. A Study of Relative Redundancy in Test-Suite Reduction While Retaining or Even Improving Fault-Localization. In Proceedings of the 25th Symposium On Applied Computing, pp. 2229--2236, 2010.

Cited By

View all
  • (2024)A Comprehensive Analysis of Regression Test Case Assessment Using Humpback Whale OptimizationData Science and Big Data Analytics10.1007/978-981-99-9179-2_52(693-706)Online publication date: 17-Mar-2024
  • (2022)A novel chaotic archimedes optimization algorithm and its application for efficient selection of regression test casesInternational Journal of Information Technology10.1007/s41870-022-01031-715:2(1055-1068)Online publication date: 25-Jul-2022
  • (2020)An Effective Regression Test Case Selection Using Hybrid Whale Optimization AlgorithmInternational Journal of Distributed Systems and Technologies10.4018/IJDST.202001010511:1(53-67)Online publication date: 1-Jan-2020
  • Show More Cited By

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Conferences
SAC '11: Proceedings of the 2011 ACM Symposium on Applied Computing
March 2011
1868 pages
ISBN:9781450301138
DOI:10.1145/1982185
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

Sponsors

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 21 March 2011

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. pairwise interaction of requirements
  2. regression testing
  3. test suite reduction

Qualifiers

  • Research-article

Funding Sources

Conference

SAC'11
Sponsor:
SAC'11: The 2011 ACM Symposium on Applied Computing
March 21 - 24, 2011
TaiChung, Taiwan

Acceptance Rates

Overall Acceptance Rate 1,650 of 6,669 submissions, 25%

Upcoming Conference

SAC '25
The 40th ACM/SIGAPP Symposium on Applied Computing
March 31 - April 4, 2025
Catania , Italy

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)5
  • Downloads (Last 6 weeks)0
Reflects downloads up to 08 Mar 2025

Other Metrics

Citations

Cited By

View all
  • (2024)A Comprehensive Analysis of Regression Test Case Assessment Using Humpback Whale OptimizationData Science and Big Data Analytics10.1007/978-981-99-9179-2_52(693-706)Online publication date: 17-Mar-2024
  • (2022)A novel chaotic archimedes optimization algorithm and its application for efficient selection of regression test casesInternational Journal of Information Technology10.1007/s41870-022-01031-715:2(1055-1068)Online publication date: 25-Jul-2022
  • (2020)An Effective Regression Test Case Selection Using Hybrid Whale Optimization AlgorithmInternational Journal of Distributed Systems and Technologies10.4018/IJDST.202001010511:1(53-67)Online publication date: 1-Jan-2020
  • (2020)Revisiting the relationship between fault detection, test adequacy criteria, and test set sizeProceedings of the 35th IEEE/ACM International Conference on Automated Software Engineering10.1145/3324884.3416667(237-249)Online publication date: 21-Dec-2020
  • (2018)Dynamically Determined Preferred Values and a Design-for-Testability Approach for Multiplexer Select Inputs under Functional Test SequencesACM Transactions on Design Automation of Electronic Systems10.1145/321977823:5(1-16)Online publication date: 20-Aug-2018
  • (2018)A Systematic Review on Test Suite Reduction: Approaches, Experiment’s Quality Evaluation, and GuidelinesIEEE Access10.1109/ACCESS.2018.28096006(11816-11841)Online publication date: 2018
  • (2014)Fault-localization techniques for software systemsACM SIGSOFT Software Engineering Notes10.1145/2659118.265912539:5(1-8)Online publication date: 17-Sep-2014
  • (2013)Leveraging a Constraint Solver for Minimizing Test SuitesProceedings of the 2013 13th International Conference on Quality Software10.1109/QSIC.2013.17(253-259)Online publication date: 29-Jul-2013
  • (2013)Change impact analysis and its regression test effort estimation2013 3rd IEEE International Advance Computing Conference (IACC)10.1109/IAdCC.2013.6514435(1420-1424)Online publication date: Feb-2013

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Figures

Tables

Media

Share

Share

Share this Publication link

Share on social media