[go: up one dir, main page]
More Web Proxy on the site http://driver.im/ skip to main content
10.1145/2463372.2463545acmconferencesArticle/Chapter ViewAbstractPublication PagesgeccoConference Proceedingsconference-collections
research-article

Minimizing test suites in software product lines using weight-based genetic algorithms

Published: 06 July 2013 Publication History

Abstract

Test minimization techniques aim at identifying and eliminating redundant test cases from test suites in order to reduce the total number of test cases to execute, thereby improving the efficiency of testing. In the context of software product line, we can save effort and cost in the selection and minimization of test cases for testing a specific product by modeling the product line. However, minimizing the test suite for a product requires addressing two potential issues: 1) the minimized test suite may not cover all test requirements compared with the original suite; 2) the minimized test suite may have less fault revealing capability than the original suite. In this paper, we apply weight-based Genetic Algorithms (GAs) to minimize the test suite for testing a product, while preserving fault detection capability and testing coverage of the original test suite. The challenge behind is to define an appropriate fitness function, which is able to preserve the coverage of complex testing criteria (e.g., Combinatorial Interaction Testing criterion). Based on the defined fitness function, we have empirically evaluated three different weight-based GAs on an industrial case study provided by Cisco Systems, Inc. Norway. We also presented our results of applying the three weight-based GAs on five existing case studies from the literature. Based on these case studies, we conclude that among the three weight-based GAs, Random-Weighted GA (RWGA) achieved significantly better performance than the other ones.

References

[1]
J. McGregor. Testing a Software Product Line. Technical Report Carnegie Mellon University/SEI-2001-TR-022. Software Engineering Institute, Carnegie Mellon University, Pittsburgh, Pennsylvania. 2001. http://www.sei.cmu.edu/library/abstracts/reports/01tr022.cfm
[2]
D. Benavides, S. Segura, and A. R. Cortés. Automated analysis of feature models 20 years later: A literature review. Information Systems. (35), 615--636. 2010.
[3]
T. Chen, and M. Lau. Dividing strategies for the optimization of a test suite. Information Processing Letters. 60(3), pp. 135-- 141. 1996.
[4]
S. Wang, A. Gotlieb, M. Liaaen, and L. C. Briand. Automatic selection of test execution plans from a Video Conference System Product Line. In Proceedings of the ACM MODELS Workshop VARiability for You (VARY' 12), pp. 30--35. 2012.
[5]
S. Wang, A. Gotlieb, S. Ali, M. Liaaen. Automated Selection of Test Cases using Feature Model: An Industrial Case Study. Technical Report (2012--20), Simula Research Laboratory. 2012.
[6]
A. Konak, D. W. Coit, and A. E. Smith. Multi-objective optimization using genetic algorithms: A tutorial. Reliability Engineering & System Safety. 91(9), pp. 992--1007. 2007.
[7]
K. Czarnecki, C. Kim, and K. Kalleberg. Feature models are views on ontologies. In Proceedings of International Software Product Line Conference, pp. 41--51. 2006.
[8]
Pure systems GmbH. Variant management with pure::variants. Technical white paper. Available from http://web.pure- systems.com, 2006.
[9]
M. Harman, S. A. Mansouri, and Y. Zhang. Search based software engineering: A comprehensive analysis and review of trends techniques and applications. Technical Report TR-09-032009. King's College, London. 2009.
[10]
K. C. Tai, and Y. Lei. A Test-Generation Strategy for Pairwise Testing. IEEE Trans. of Software Engineering. 28(1), pp. 109 - 111. 2002.
[11]
R. Kuhn, Y. Lei, and R. Kacker. Practical combinatorial testing: Beyond pairwise. IT Professional. 10(3), pp. 19--23. 2008.
[12]
T. Murata, T. Ishibuchi, and H. Tanaka. Multi-objective genetic algorithm and its applications to flowshop scheduling. Comput Ind Eng. 30(4), pp. 957--968. 1996.
[13]
Cisco Systems. Cisco telepresence codec c90. Data sheet. 2010. Available from http://www.cisco.com.
[14]
D. Benavides. On the Automated Analysis of Software Product Lines Using Feature Models. Doctoral Thesis. Universidad de Sevilla. 2007.
[15]
A. Arcuri, and L. C. Briand. A Practical Guide for Using Statistical Tests to Assess Randomized Algorithms in Software Engineering. In Proceedings of the International Conference on Software Engineering. pp. 21--28. 2011.
[16]
S. Ali, L. C. Briand, H. Hemmati, and R. K. Panesar-Walawege. A Systematic Review of the Application and Empirical Investigation of Search-Based Test Case Generation. IEEE Trans on Software Engineering, 36(6), pp. 742--762. 2010.
[17]
M. B. Cohen, M. B. Dwyer, and J. Shi. Coverage and Adequacy in Software Product Line Testing. In Proceedings ACM ISSTA Workshop on Role of Software Architecture for Testing and Analysis. pp. 53--63. 2006.
[18]
H. Muccini, and A. Van Der Hoek. Towards Testing Product Line Architectures. Electronic Notes in Theoretical Computer Science. 82(6), pp. 99--109. 2003.
[19]
S. Yoo, and M. Harman. Regression test minimization, selection and prioritization: a survey. Software Testing, Verification, and Reliability; 22(2), pp. 67--120. 2012.
[20]
T. Y. Chen, and M. F. Lau. Dividing strategies for the optimization of a test suite. Information Processing Letters. 60(3), pp. 135--141. 1996.
[21]
S. Tallam, and N. Gupta. A concept analysis inspired greedy algorithm for test suite minimization. SIGSOFT Software Engineering Notes. 31(1), 35--42. 2006.
[22]
D. Jeffrey, and N. Gupta. Test suite reduction with selective redundancy. In Proceedings of the International Conference on Software Maintenance. pp. 549--558. 2005.
[23]
S. Yoo, and M. Harman. Pareto Efficient Multi-Objective Test Case Selection. In Proceedings of the international symposium on Software testing and analysis (ISSTA), pp. 140--150.2007.

Cited By

View all
  • (2025)Enhancing multi-objective test case selection through the mutation operatorAutomated Software Engineering10.1007/s10515-025-00489-632:1Online publication date: 30-Jan-2025
  • (2025)Reformulating regression test suite optimization using quantum annealing - an empirical studyInternational Journal on Software Tools for Technology Transfer10.1007/s10009-024-00775-w26:6(767-780)Online publication date: 20-Jan-2025
  • (2023)Software Product Line Maintenance Using Multi-Objective Optimization TechniquesApplied Sciences10.3390/app1315901013:15(9010)Online publication date: 6-Aug-2023
  • Show More Cited By

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image ACM Conferences
GECCO '13: Proceedings of the 15th annual conference on Genetic and evolutionary computation
July 2013
1672 pages
ISBN:9781450319638
DOI:10.1145/2463372
  • Editor:
  • Christian Blum,
  • General Chair:
  • Enrique Alba
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: 06 July 2013

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. fault detection capability
  2. feature pairwise coverage
  3. test minimization
  4. weight-based gas

Qualifiers

  • Research-article

Conference

GECCO '13
Sponsor:
GECCO '13: Genetic and Evolutionary Computation Conference
July 6 - 10, 2013
Amsterdam, The Netherlands

Acceptance Rates

GECCO '13 Paper Acceptance Rate 204 of 570 submissions, 36%;
Overall Acceptance Rate 1,669 of 4,410 submissions, 38%

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

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

Other Metrics

Citations

Cited By

View all
  • (2025)Enhancing multi-objective test case selection through the mutation operatorAutomated Software Engineering10.1007/s10515-025-00489-632:1Online publication date: 30-Jan-2025
  • (2025)Reformulating regression test suite optimization using quantum annealing - an empirical studyInternational Journal on Software Tools for Technology Transfer10.1007/s10009-024-00775-w26:6(767-780)Online publication date: 20-Jan-2025
  • (2023)Software Product Line Maintenance Using Multi-Objective Optimization TechniquesApplied Sciences10.3390/app1315901013:15(9010)Online publication date: 6-Aug-2023
  • (2023)Automated Test Suite Generation for Software Product Lines Based on Quality-Diversity OptimizationACM Transactions on Software Engineering and Methodology10.1145/362815833:2(1-52)Online publication date: 22-Dec-2023
  • (2023)Enforcing Resilience in Cyber-physical Systems via Equilibrium Verification at RuntimeACM Transactions on Autonomous and Adaptive Systems10.1145/358436418:3(1-32)Online publication date: 20-Sep-2023
  • (2023)What Not to Test (For Cyber-Physical Systems)IEEE Transactions on Software Engineering10.1109/TSE.2023.327230949:7(3811-3826)Online publication date: Jul-2023
  • (2023)A Case Study on the “Jungle” Search for Industry-Relevant Regression Testing2023 IEEE 23rd International Conference on Software Quality, Reliability, and Security (QRS)10.1109/QRS60937.2023.00045(382-393)Online publication date: 22-Oct-2023
  • (2023)A systematic review on search‐based test suite reductionIET Software10.1049/sfw2.1210417:2(93-136)Online publication date: 20-Feb-2023
  • (2023)Applying a Genetic Algorithm for Test Suite Reduction in IndustrySoftware Quality: Higher Software Quality through Zero Waste Development10.1007/978-3-031-31488-9_4(63-83)Online publication date: 13-May-2023
  • (2022)Multi-Objective Metamorphic Test Case Selection: an Industrial Case Study (Practical Experience Report)2022 IEEE 33rd International Symposium on Software Reliability Engineering (ISSRE)10.1109/ISSRE55969.2022.00058(541-552)Online publication date: Oct-2022
  • Show More Cited By

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