[go: up one dir, main page]
More Web Proxy on the site http://driver.im/ skip to main content
10.1145/2950290.2983959acmconferencesArticle/Chapter ViewAbstractPublication PagesfseConference Proceedingsconference-collections
short-paper

Combinatorial generation of structurally complex test inputs for commercial software applications

Published: 01 November 2016 Publication History

Abstract

Despite recent progress in automated test generation research, significant challenges remain for applying these techniques on large-scale software systems. These systems under test often require structurally complex test inputs within a large input domain. It is challenging to automatically generate a reasonable number of tests that are both legal and behaviorally-diverse to exercise these systems. Constraint-based test generation is an effective approach for generating structurally complex inputs for systematic testing. While this approach can typically generate large numbers of tests, it has limited scalability – tests generated are usually only up to a small bound on input size. Combinatorial test generation, e.g., pair-wise testing, is a more scalable approach but is challenging to apply on commercial software systems that require complex input structures that cannot be formed by using arbitrary combinations. This paper introduces comKorat, which unifies constraint-based generation of structurally complex tests with combinatorial testing. Specifically, comKorat integrates Korat and ACTS test generators to generate test suites for large scale software systems with structurally complex test inputs. We have successfully applied comKorat on four software applications developed at eBay and Yahoo!. The experimental results show that comKorat outperforms existing solutions in execution time and test coverage. Furthermore, comKorat found a total of 59 previously unknown bugs in the four applications.

References

[1]
S. Anand, E. Burke, T. Chen, J. Clark, M. Cohen, W. Grieskamp, M. Harman, M. Harrold, and P. Mcminn. An Orchestrated Survey on Automated Software Test Case Generation. JSS, 2013.
[2]
S. Artzi, M. D. Ernst, A. Kie˙zun, C. Pacheco, and J. H. Perkins. Finding the Needles in the Haystack: Generating Legal Test Inputs for Object-Oriented Programs. In M-TOOS, 2006.
[3]
V. Bengolea, N. Aguirre, D. Marinov, and M. F. Frias. Using Coverage Criteria on RepOK to Reduce Bounded-exhaustive Test Suites. In TAP, 2012.
[4]
C. Boyapati, S. Khurshid, and D. Marinov. Korat: Automated Testing Based on Java Predicates. In ISSTA, pages 123–133, 2002.
[5]
C. Cadar, P. Godefroid, S. Khurshid, C. S. Pˇ asˇ areanu, K. Sen, N. Tillmann, and W. Visser. Symbolic Execution for Software Testing in Practice—Preliminary Assessment. In ICSE, 2011.
[6]
T. Y. Chen, H. Leung, and I. Mak. Adaptive random testing. In Advances in Computer Science. 2004.
[7]
S. R. Ganov, C. Killmar, S. Khurshid, and D. E. Perry. Test Generation for Graphical User Interfaces Based on Symbolic Execution. In AST, 2008.
[8]
L. S. Ghandehari, J. Czerwonka, Y. Lei, S. Shafiee, R. Kacker, and R. Kuhn. An Empirical Comparison of Combinatorial and Random Testing. In ICST, 2014.
[9]
P. Godefroid, N. Klarlund, and K. Sen. DART: Directed automated random testing. In PLDI, 2005.
[10]
N. Havrikov, M. Höschele, J. P. Galeotti, and A. Zeller. XMLMate: Evolutionary XML Test Generation. In FSE, 2014.
[11]
R. Kuhn, R. Kacker, Y. Lei, and J. Hunter. Combinatorial Software Testing. IEEE Computer, 42(8):94–96, 2009.
[12]
R. Kuhn, Y. Lei, and R. Kacker. Practical Combinatorial Testing: Beyond Pairwise. IT Professional, 10(3):19–23, 2008.
[13]
D. Marinov and S. Khurshid. TestEra: A Novel Framework for Automated Testing of Java Programs. In ASE, 2001.
[14]
S. Misailovic, A. Milicevic, N. Petrovic, S. Khurshid, and D. Marinov. Parallel Test Generation and Execution with Korat. In FSE, 2007.
[15]
T. Murnane, K. Reed, and R. Hall. On the learnability of two representations of equivalence partitioning and boundary value analysis. In ASWEC 2007, 2007.
[16]
C. Pacheco, S. Lahiri, M. Ernst, and T. Ball. Feedback Directed Random Test Generation. In ICSE, 2007.
[17]
H. Zhong. Pairwise-Korat: Automated Testing Using Korat in an Industrial Setting. Master’s Report, The University of Texas at Austin, USA, 2015.
[18]
H. Zhong, L. Zhang, and S. Khurshid. The comKorat Tool: Unified Combinatorial and Constraint-based Generation of Structurally Complex Tests. In NFM, 2016.

Cited By

View all
  • (2024)Yekta: A low-code framework for automated test models generationSoftwareX10.1016/j.softx.2024.10185027(101850)Online publication date: Sep-2024
  • (2024)Ant-colony optimization for automating test model generation in model transformation testingJournal of Systems and Software10.1016/j.jss.2023.111882208(111882)Online publication date: Feb-2024
  • (2022)Combinatorial Test Generation for Multiple Input Models With Shared ParametersIEEE Transactions on Software Engineering10.1109/TSE.2021.306595048:7(2606-2628)Online publication date: 1-Jul-2022
  • Show More Cited By

Index Terms

  1. Combinatorial generation of structurally complex test inputs for commercial software applications

    Recommendations

    Comments

    Please enable JavaScript to view thecomments powered by Disqus.

    Information & Contributors

    Information

    Published In

    cover image ACM Conferences
    FSE 2016: Proceedings of the 2016 24th ACM SIGSOFT International Symposium on Foundations of Software Engineering
    November 2016
    1156 pages
    ISBN:9781450342186
    DOI:10.1145/2950290
    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: 01 November 2016

    Permissions

    Request permissions for this article.

    Check for updates

    Author Tags

    1. ACTS
    2. Combinatorial test generation
    3. Constraint-based test generation
    4. Korat

    Qualifiers

    • Short-paper

    Conference

    FSE'16
    Sponsor:

    Acceptance Rates

    Overall Acceptance Rate 17 of 128 submissions, 13%

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

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

    Other Metrics

    Citations

    Cited By

    View all
    • (2024)Yekta: A low-code framework for automated test models generationSoftwareX10.1016/j.softx.2024.10185027(101850)Online publication date: Sep-2024
    • (2024)Ant-colony optimization for automating test model generation in model transformation testingJournal of Systems and Software10.1016/j.jss.2023.111882208(111882)Online publication date: Feb-2024
    • (2022)Combinatorial Test Generation for Multiple Input Models With Shared ParametersIEEE Transactions on Software Engineering10.1109/TSE.2021.306595048:7(2606-2628)Online publication date: 1-Jul-2022
    • (2020)Combinatorial Testing of Browsers’ Support for MultimediaIEEE Transactions on Reliability10.1109/TR.2020.297515069:4(1323-1340)Online publication date: Dec-2020
    • (2020)Actionable Program Analyses for Improving Software PerformanceErnst Denert Award for Software Engineering 201910.1007/978-3-030-58617-1_7(113-140)Online publication date: 4-Dec-2020
    • (2019)Parallelization of Unit Tests Generation by Control Flow Graph analysis2019 IEEE 14th International Conference on Computer Sciences and Information Technologies (CSIT)10.1109/STC-CSIT.2019.8929755(161-164)Online publication date: Sep-2019
    • (2019)Viatra solverProceedings of the 41st International Conference on Software Engineering: Companion Proceedings10.1109/ICSE-Companion.2019.00034(43-46)Online publication date: 25-May-2019
    • (2018)Korat-APIProceedings of the 33rd Annual ACM Symposium on Applied Computing10.1145/3167132.3167339(1934-1943)Online publication date: 9-Apr-2018
    • (2017)Constrained Interaction Testing: A Systematic Literature StudyIEEE Access10.1109/ACCESS.2017.27715625(25706-25730)Online publication date: 2017

    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