Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
10.1145/1882291.1882331acmconferencesArticle/Chapter ViewAbstractPublication PagesfseConference Proceedingsconference-collections
research-article

An enhanced test case selection approach for model-based testing: an industrial case study

Published: 07 November 2010 Publication History

Abstract

In recent years, Model-Based Testing (MBT) has attracted an increasingly wide interest from industry and academia. MBT allows automatic generation of a large and comprehensive set of test cases from system models (e.g., state machines), which leads to the systematic testing of the system. However, even when using simple test strategies, applying MBT in large industrial systems often leads to generating large sets of test cases that cannot possibly be executed within time and cost constraints. In this situation, test case selection techniques are employed to select a subset from the entire test suite such that the selected subset conforms to available resources while maximizing fault detection. In this paper, we propose a new similarity-based selection technique for state machine-based test case selection, which includes a new similarity function using triggers and guards on transitions of state machines and a genetic algorithm-based selection algorithm. Applying this technique on an industrial case study, we show that our proposed approach is more effective in detecting real faults than existing alternatives. We also assess the overall benefits of model-based test case selection in our case study by comparing the fault detection rate of the selected subset with the maximum possible fault detection rate of the original test suite.

References

[1]
Utting, M. and Legeard, B., Practical Model-Based Testing: A Tools Approach, Morgan-Kaufmann, 2006.
[2]
Pender, T., UML Bible, Wiley, 2003.
[3]
Ali, S., Hemmati, H., Holt, N. E., Arisholm, E. and Briand, L., Model Transformations as a Strategy to Automate Model-Based Testing -- A Tool and Industrial Case Studies, Simula Research Laboratory, Technical Report(2010-01), 2010.
[4]
Binder, R. V., Testing Object-Oriented Systems: Models, Patterns, and Tools, Addison-Wesley Professional, 1999.
[5]
Mathur, A. P., Foundations of Software Testing, Addison-Wesley Professional, 2008.
[6]
Jones, J. A. and Harrold, M. J., Test-Suite Reduction and Prioritization for Modified Condition/Decision Coverage, IEEE Transactions on Software Engineering, 29(3), 2003, 195--209.
[7]
Cartaxo, E. G., Machado, P. D. L. and Neto, F. G. O., On the use of a similarity function for test case selection in the context of model-based testing, Software Testing, Verification and Reliability, Published Online: 22 Jul 2009.
[8]
Goldberg, D. E., Genetic Algorithms in Search, Optimization, and Machine Learning, Addison-Wesley Professional, 2001.
[9]
Ledru, Y., Petrenko, A. and Boroday, S., Using String Distances for Test Case Prioritisation, In Proceedings of the 24th IEEE/ACM International Conference on Automated Software Engineering (ASE), 2009, 510--514.
[10]
Rothermel, G., Harrold, M. J., Ronne, J. v. and Hong, C., Empirical studies of test-suite reduction, Software Testing, Verification and Reliability, 12(4), 2002, 219--249.
[11]
Elbaum, S. G., Malishevsky, A. G. and Rothermel, G., Test Case Prioritization: A Family of Empirical Studies, IEEE Transactions on Software Engineering, 28(2), 2002, 159--182.
[12]
Li, Z., Harman, M. and Hierons, R. M., Search Algorithms for Regression Test Case Prioritization, IEEE Transactions on Software Engineering, 33(4), 2007, 225--237.
[13]
Yoo, S., Harman, M., Tonella, P. and Susi, A., Clustering test cases to achieve effective and scalable prioritisation incorporating expert knowledge, In Proceedings of the 18th international symposium on Software testing and analysis, 2009, 201--212.
[14]
Orso, A., Do, H., Rothermel, G., Harrold, M. J. and Rosenblum, D. S., Using component metadata to regression test component-based software, Software Testing, Verification and Reliability, 17(2), 2007, 61--94.
[15]
McMaster, S. and Memon, A., Call-Stack Coverage for GUI Test Suite Reduction, IEEE Transactions on Software Engineering, 34(1), 2008, 99--115.
[16]
Chen, Y., Probert, R. L. and Ural, H., Regression test suite reduction based on SDL models of system requirements, Journal of Software Maintenance and Evolution: Research and Practice, 21(6), 2009, 379--405.
[17]
Farooq, U. and Lam, C. P., A Max--Min Multiobjective Technique to Optimize Model Based Test Suite, In Proceedings of the 10th ACIS International Conference on Software Engineering, Artificial Intelligences, Networking and Parallel/Distributed Computing, 2009, 569--574.
[18]
Farooq, U. and Lam, C. P., Evolving the Quality of a Model Based Test Suite, In Proceedings of the Proceedings of the IEEE International Conference on Software Testing, Verification, and Validation Workshops, 2009, 141--149
[19]
Ma, X. Y., Sheng, B. K. and Ye, C. Q., Test-Suite Reduction Using Genetic Algorithm, Advanced Parallel Processing Technologies, Springer Berlin / Heidelberg, 3756, 2005.
[20]
Chen, T. Y. and Lau, M. F., A simulation study on some heuristics for test suite reduction, Information and Software Technology, 40(13), 1998, 777--787.
[21]
Leon, D. and Podgurski, A., A Comparison of Coverage-Based and Distribution-Based Techniques for Filtering and Prioritizing Test Cases, In Proceedings of the IEEE International Symposium on Software Reliability Engineering, 2003, 442--456.
[22]
Harman, M., The Current State and Future of Search Based Software Engineering, In Proceedings of the Future of Software Engineering, 2007, IEEE Computer Society, 342--357.
[23]
Simão, A. d. S., Mello, R. F. d. and Senger, L. J., A Technique to Reduce the Test Case Suites for Regression Testing Based on a Self-Organizing Neural Network Architecture, In Proceedings of the COMPSAC, 2006, 93--96.
[24]
Jiang, B., Zhang, Z., Chan, W. K. and Tse, T. H., Adaptive random test case prioritization, In Proceedings of the IEEE/ACM International Conference on Automated Software Engineering (ASE 2009), 2009, 233--244.
[25]
Masri, W., Podgurski, A. and Leon, D., An Empirical Study of Test Case Filtering Techniques Based on Exercising Information Flows, IEEE Transactions on Software Engineering, 33(7), 2007.
[26]
Ramanathan, M. K., Koyutürk, M., Grama, A. and Jagannathan, S., PHALANX: a graph--theoretic framework for test case prioritization. In Proceedings of the 23rd Annual ACM Symposium on Applied Computing, 2008, 667--673.
[27]
http://www.levenshtein.net/
[28]
Whitley, D., The genitor algorithm and selective pressure: Why rank-based allocation of reproductive trials is best, In Proceedings of the Third International Conference on Genetic Algorithms (ICGA--89), 1989, 116--121.
[29]
Haupt, R. L. and Haupt, S. E., Practical Genetic Algorithms, Wiley-Interscience, 1998.
[30]
Gusfield, D., Algorithms on Strings, Trees and Sequences: Computer Science and Computational Biology, Cambridge University Press, 1997.
[31]
Ali, S., Briand, L. C., Hemmati, H. and Panesar-Walawege, R. K., A Systematic Review of the Application and Empirical Investigation of Search-based Test-Case Generation, Accepted for publication in IEEE Transactions on Software Engineering, Special issue on Search-Based Software Engineering (SBSE), 2009.

Cited By

View all
  • (2024)Model-based diversity-driven learn-to-rank test case prioritizationExpert Systems with Applications10.1016/j.eswa.2024.124768255(124768)Online publication date: Dec-2024
  • (2023)Search-based Test Case Selection for PLC Systems using Functional Block Diagram Programs2023 IEEE 34th International Symposium on Software Reliability Engineering (ISSRE)10.1109/ISSRE59848.2023.00040(228-239)Online publication date: 9-Oct-2023
  • (2022)Utilizing Automatic Query Reformulations as Genetic Operations to Improve Feature Location in Software ModelsIEEE Transactions on Software Engineering10.1109/TSE.2020.300052048:2(713-731)Online publication date: 1-Feb-2022
  • Show More Cited By

Index Terms

  1. An enhanced test case selection approach for model-based testing: an industrial case study

    Recommendations

    Comments

    Information & Contributors

    Information

    Published In

    cover image ACM Conferences
    FSE '10: Proceedings of the eighteenth ACM SIGSOFT international symposium on Foundations of software engineering
    November 2010
    302 pages
    ISBN:9781605587912
    DOI:10.1145/1882291
    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: 07 November 2010

    Permissions

    Request permissions for this article.

    Check for updates

    Author Tags

    1. genetic algorithms
    2. model-based testing
    3. similarity-based selection
    4. test case selection

    Qualifiers

    • Research-article

    Conference

    SIGSOFT/FSE'10
    Sponsor:

    Acceptance Rates

    Overall Acceptance Rate 17 of 128 submissions, 13%

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • Downloads (Last 12 months)18
    • Downloads (Last 6 weeks)4
    Reflects downloads up to 03 Oct 2024

    Other Metrics

    Citations

    Cited By

    View all
    • (2024)Model-based diversity-driven learn-to-rank test case prioritizationExpert Systems with Applications10.1016/j.eswa.2024.124768255(124768)Online publication date: Dec-2024
    • (2023)Search-based Test Case Selection for PLC Systems using Functional Block Diagram Programs2023 IEEE 34th International Symposium on Software Reliability Engineering (ISSRE)10.1109/ISSRE59848.2023.00040(228-239)Online publication date: 9-Oct-2023
    • (2022)Utilizing Automatic Query Reformulations as Genetic Operations to Improve Feature Location in Software ModelsIEEE Transactions on Software Engineering10.1109/TSE.2020.300052048:2(713-731)Online publication date: 1-Feb-2022
    • (2021)Systematic Literature Review on Test Case Selection and Prioritization: A Tertiary StudyApplied Sciences10.3390/app11241212111:24(12121)Online publication date: 20-Dec-2021
    • (2021)Testing Scenario Library Generation for Connected and Automated Vehicles, Part I: MethodologyIEEE Transactions on Intelligent Transportation Systems10.1109/TITS.2020.297221122:3(1573-1582)Online publication date: Mar-2021
    • (2020)LCCSSProceedings of the 14th Brazilian Symposium on Software Components, Architectures, and Reuse10.1145/3425269.3425283(91-100)Online publication date: 19-Oct-2020
    • (2020)A Comparative Study of Vectorization-Based Static Test Case Prioritization Methods2020 46th Euromicro Conference on Software Engineering and Advanced Applications (SEAA)10.1109/SEAA51224.2020.00023(80-88)Online publication date: Aug-2020
    • (2020)Automating system test case classification and prioritization for use case-driven testing in product linesEmpirical Software Engineering10.1007/s10664-020-09853-4Online publication date: 18-Aug-2020
    • (2020)Multi-criteria test cases selection for model transformationsAutomated Software Engineering10.1007/s10515-020-00271-wOnline publication date: 12-Apr-2020
    • (2019)Mutation-based genetic algorithm for efficiency optimisation of unit testingInternational Journal of Advanced Intelligence Paradigms10.5555/3324436.332444012:3-4(254-265)Online publication date: 1-Jan-2019
    • Show More Cited By

    View Options

    Get Access

    Login options

    View options

    PDF

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader

    Media

    Figures

    Other

    Tables

    Share

    Share

    Share this Publication link

    Share on social media