skip to main content
10.1145/1294921.1294922acmconferencesArticle/Chapter ViewAbstractPublication PagesfseConference Proceedingsconference-collections
Article

Test suite prioritization by interaction coverage

Published:04 September 2007Publication History

ABSTRACT

Event-driven software (EDS) is a widely used class of software that takes sequences of events as input, changes state, and outputs new event sequences. Managing the size of tests suites for EDS is difficult as the number of event combinations and sequences grow exponentially with the number of events. We propose a new testing technique that extends software interaction testing. Traditional software interaction testing systematically examines all t-way interactions of parameters for a program. This paper extends the notion to t-way interactions over sequences of events. The technique applies to many classes of software; we focus on that of EDS. As a proof-of-concept, we prioritize existing test suites for four GUI-based programs by t-way interaction coverage. We compare the rate of fault detection with that of several other prioritization criteria. Results show that prioritization by interaction coverage has the fastest rate of fault detection in half of our experiments, making the most impact when tests have high interaction coverage.

References

  1. R. C. Bryce and C. J. Colbourn. The density algorithm for pairwise interaction testing. Journal of Software Testing, Verification, and Reliability, to appear. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. R. C. Bryce, A. Rajan, and M. P. E. Heimdahl. Interaction testing in model-based development: Effect on model-coverage. Proc. of the 13th Asia-Pacific Software Engineering Conf., pages 258--269, Dec. 2006. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. C. J. Colbourn. Combinatorial aspects of covering arrays. Le Matematiche (Catania), 58:121--167, 2004.Google ScholarGoogle Scholar
  4. S. Elbaum, A. Malishevsky, and G. Rothermel. Test case prioritization: A family of empirical studies. IEEE Trans. on Software Engineering, 18(2):159--182, 2002. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. S. Elbaum, G. Rothermel, S. Kanduri, and A. Malishevsky. Selecting a cost-effective test case prioritization technique. Software Quality Journal, 12(3):185--210, 2004. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. D. R. Kuhn, D. R. Wallace, and A. M. Gallo. Software fault interactions and implications for software testing. IEEE Trans. on Software Engineering, 30(6):418--421, Oct. 2004. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. Atif M. Memon. An event-flow model of gui-based applications for testing. Software Testing, Verification and Reliability, 2007. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. Atif M. Memon, Mary Lou Soffa, and Martha E. Pollack. Coverage criteria for GUI testing. In ESEC/FSE-9: Proc. of the 8th European software engineering conf. held jointly with 9th ACM SIGSOFT Int. symposium on Foundations of software engineering, pages 256--267, 2001. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. G. Rothermel, R. H. Untch, C. Chu, and M. J. Harrold. Prioritizing test cases for regression testing. ACM Trans. on Software Engineering and Methodology, 27(10):929--948, 2001. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. A. Srivastava and J. Thiagarajan. Effectively prioritizing tests in development environment. In Proc. of the Int. Symposium on Software Testing and Analysis, pages 97--106, Jul. 2002. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. Kristen R. Walcott, Mary Lou Soffa, Gregory M. Kapfhammer, and Robert S. Roos. Timeaware test suite prioritization. In Proc. of the Int. Symposium on Software Testing and Analysis, pages 1--12, Jul. 2006. Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. L. White. Regression testing of gui event interactions. In Proc. of the Int. Conf. on Software Maintenance, pages 350--358, Nov. 1996. Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. L. White and H. Almezen. Generating test cases for gui responsibilities using complete interaction sequences. In Proc. of the Interactional Symposium on Software Reliability Engineering, pages 110--121, 2000. Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. Qing Xie and Atif M. Memon. Studying the characteristics of a 'good' GUI test suite. In Proc. of the 17th IEEE Int. Symposium on Software Reliability Engineering. IEEE Computer Society Press, 2006. Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. C. Yilmaz, M. B. Cohen, and A. Porter. Covering arrays for efficient fault characterization in complex configuration spaces. IEEE Trans. on Software Engineering, 31(1):20--34, Jan. 2006. Google ScholarGoogle ScholarDigital LibraryDigital Library
  16. Xun Yuan and Atif M. Memon. Using GUI run-time state as feedback to generate test cases. In Proc. of the 29th Int. Conf. on Software Engineering, May 2007. Google ScholarGoogle ScholarDigital LibraryDigital Library

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
    DOSTA '07: Workshop on Domain specific approaches to software test automation: in conjunction with the 6th ESEC/FSE joint meeting
    September 2007
    44 pages
    ISBN:9781595937261
    DOI:10.1145/1294921

    Copyright © 2007 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: 4 September 2007

    Permissions

    Request permissions about this article.

    Request Permissions

    Check for updates

    Qualifiers

    • Article

    Upcoming Conference

    FSE '24

PDF Format

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader