skip to main content
10.1145/1062455.1062636acmconferencesArticle/Chapter ViewAbstractPublication PagesicseConference Proceedingsconference-collections
Article

Model-based testing

Published:15 May 2005Publication History

ABSTRACT

Model-based testing has become increasingly popular in recent years. Major reasons include (1) the need for quality assurance for increasingly complex systems, (2) the emerging model-centric development paradigm (e.g., UML and MDA) with its seemingly direct connection to testing, and (3) the advent of test-centered development methodologies.Model-based testing relies on execution traces of behavior models. They are used as test cases for an implementation: input and expected output. This complements the ideas of model-driven testing. The latter uses static models to derive test drivers to automate test execution. This assumes the existence of test cases, and is, like the particular intricacies of OO testing, not in the focus of this tutorial.We cover major methodological and technological issues: the business case of model-based testing within model-based development, the need for abstraction and inverse concretization, test selection, and test case generation. We (1) discuss different scenarios of model-based testing, (2) present common abstractions when building models, and their consequences for testing, (3) explain how to use functional, structural, and stochastic test selection criteria, and (4) describe today's test generation technology.We provide both practical guidance and a discussion of the state-of-the-art. Potentials of model-based testing in practical applications and future research are highlighted.

References

  1. R. Binder. Testing Object-Oriented Systems: Models, Patterns, and Tools. Addison Wesley, 1999. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. M. Broy, B. Jonsson, J.-P. Katoen, M. Leucker, and A. Pretschner (eds.). Model-Based Testing. LNCS. Springer, 2005. To appear.Google ScholarGoogle Scholar
  3. J. Musa. Software Reliability Engineering: More Reliable Software Faster and Cheaper. AuthorHouse, 2004. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. G. Myers. The Art of Software Testing. J. Wiley and Sons, 1979. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. A. Pretschner, O. Slotosch, A. Aiglstorfer, and S. Kriebel. Model-Based Testing for Real. Software Tools for Technology Transfer, 5(2--3):140--157, 2004. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. H. Zhu, P. Hall, and J. May. Software Unit Test Coverage and Adequacy. ACM Computing Surveys, 29(4):366--427, December 1997. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Model-based testing

        Recommendations

        Comments

        Login options

        Check if you have access through your login credentials or your institution to get full access on this article.

        Sign in
        • Published in

          cover image ACM Conferences
          ICSE '05: Proceedings of the 27th international conference on Software engineering
          May 2005
          754 pages
          ISBN:1581139632
          DOI:10.1145/1062455

          Copyright © 2005 ACM

          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]

          Publisher

          Association for Computing Machinery

          New York, NY, United States

          Publication History

          • Published: 15 May 2005

          Permissions

          Request permissions about this article.

          Request Permissions

          Check for updates

          Qualifiers

          • Article

          Acceptance Rates

          Overall Acceptance Rate276of1,856submissions,15%

          Upcoming Conference

          ICSE 2025

        PDF Format

        View or Download as a PDF file.

        PDF

        eReader

        View online with eReader.

        eReader