skip to main content
10.1145/1595696.1595748acmconferencesArticle/Chapter ViewAbstractPublication PagesfseConference Proceedingsconference-collections
demonstration

Test case comparison and clustering using program profiles and static execution

Published:24 August 2009Publication History

ABSTRACT

Selection of diverse test cases and elimination of duplicates are two major problems in product testing life cycle, especially in sustained engineering environment. In order to solve these, we introduce a framework of test case comparison metrics which will quantitatively describe the distance between any arbitrary test case pair of an existing test suite, allowing various test case analysis applications. We combine program profiles from test execution, static analysis and statistical techniques to capture various aspects of test execution and compute a specialized test case distance measurement. Using these distance metrics, we drive a customized hierarchical test suite clustering algorithm that groups similar test cases together. We present an industrial strength framework called SPIRiT that works at binary level, implementing different metrics in the form of coverage, control, data, def-use, temporal variances and does test case clustering. This is step towards integrating runtime analysis, static analysis, statistical techniques and machine learning to drive new generation of test suite analysis algorithms.

References

  1. A. Srivastava, J. Thiagarajan, "Effectively Prioritizing Tests in Development Environment", ISSTA 2002. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. M. J. Harrold, "Testing Evolving Software", Journal of Systems and Software, vol. 47, pp. 173--181, Jul. 1999. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. A. Srivastava, A. Edwards, and H. Vo, "Vulcan: Binary transformation in a Distributed Environment", Microsoft Research Technical Report, 2001Google ScholarGoogle Scholar

Index Terms

  1. Test case comparison and clustering using program profiles and static execution

    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
      ESEC/FSE '09: Proceedings of the 7th joint meeting of the European software engineering conference and the ACM SIGSOFT symposium on The foundations of software engineering
      August 2009
      408 pages
      ISBN:9781605580012
      DOI:10.1145/1595696

      Copyright © 2009 Copyright is held by the owner/author(s)

      Permission to make digital or hard copies of part or all 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 third-party components of this work must be honored. For all other uses, contact the Owner/Author.

      Publisher

      Association for Computing Machinery

      New York, NY, United States

      Publication History

      • Published: 24 August 2009

      Check for updates

      Qualifiers

      • demonstration

      Acceptance Rates

      ESEC/FSE '09 Paper Acceptance Rate32of217submissions,15%Overall Acceptance Rate112of543submissions,21%

    PDF Format

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader