skip to main content
10.1145/1273463.1273482acmconferencesArticle/Chapter ViewAbstractPublication PagesisstaConference Proceedingsconference-collections
Article

Interaction testing of highly-configurable systems in the presence of constraints

Published:09 July 2007Publication History

ABSTRACT

Combinatorial interaction testing (CIT) is a method to sample configurations of a software system systematically for testing. Many algorithms have been developed that create CIT samples, however few have considered the practical concerns that arise when adding constraints between combinations of options. In this paper, we survey constraint handling techniques in existing algorithms and discuss the challenges that they present. We examine two highly-configurable software systems to quantify the nature of constraints in real systems. We then present a general constraint representation and solving technique that can be integrated with existing CIT algorithms and compare two constraint-enhanced algorithm implementations with existing CIT tools to demonstrate feasibility.

References

  1. R. Brownlie, J. Prowse, and M. S. Phadke. Robust testing of AT&T PMX/StarMAIL using OATS. AT&T Technical Journal, 71(3):41--47, 1992.Google ScholarGoogle ScholarCross RefCross Ref
  2. R. C. Bryce and C. J. Colbourn. Prioritized interaction testing for pair-wise coverage with seeding and constraints. Journal of Information and Software Technology, 48(10):960--970, 2006.Google ScholarGoogle ScholarCross RefCross Ref
  3. R. C. Bryce, C. J. Colbourn, and M. B. Cohen. A framework of greedy methods for constructing interaction test suites. In Proceedings of the International Conference on Software Engineering, pages 146--155, May 2005. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. D. M. Cohen, S. R. Dalal, M. L. Fredman, and G. C. Patton. The AETG system: an approach to testing based on combinatorial design. IEEE Transactions on Software Engineering, 23(7):437--444, 1997. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. M. B. Cohen, C. J. Colbourn, P. B. Gibbons, and W. B. Mugridge. Constructing test suites for interaction testing. In Proceedings of the International Conference on Software Engineering, pages 38--48, May 2003. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. M. B. Cohen, C. J. Colbourn, and A. C. H. Ling. Augmenting simulated annealing to build interaction test suites. In 14th IEEE International Symposium on Software Reliability Engineering, pages 394--405, November 2003. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. M. B. Cohen, M. B. Dwyer, and J.Shi. Coverage and adequacy in software product line testing. In Proceedings of the Workshop on the Role of Architecture for Testing and Analysis, pages 53--63, July 2006. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. C. J. Colbourn, M. B. Cohen, and R. C. Turban. A deterministic density algorithm for pairwise interaction coverage. In IASTED Proceedings of the International Conference on Software Engineering, pages 345--352, February 2004.Google ScholarGoogle Scholar
  9. J. Czerwonka. Pairwise testing in real world. In Pacific Northwest Software Quality Conference, pages 419--430, October 2006.Google ScholarGoogle Scholar
  10. I. S. Dunietz, W. K. Ehrlich, B. D. Szablak, C. L. Mallows, and A. Iannino. Applying design of experiments to software testing. In Proceedings of the International Conference on Software Engineering, pages 205--215, 1997. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. D. Dvorak, R. Rasmussen, G. Reeves, and A. Sacks. Software architecture themes in JPL's mission data system. In Proceedings of the 2000 IEEE Aerospace Conference, Mar. 2000.Google ScholarGoogle ScholarCross RefCross Ref
  12. Free Software Foundation. GNU 4.1.1 manpages. http://gcc.gnu.org/onlinedocs/gcc-4.1.1/gcc/, 2005.Google ScholarGoogle Scholar
  13. A. Hartman. Software and hardware testing using combinatorial covering suites. In Graph Theory, Combinatorics and Algorithms: Interdisciplinary Applications, pages 327--266, 2005.Google ScholarGoogle Scholar
  14. A. Hartman and L. Raskin. Problems and algorithms for covering arrays. Discrete Math, 284:149--156, 2004.Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. B. Hnich, S. Prestwich, E. Selensky, and B. Smith. Constraint models for the covering test problem. Constraints, 11:199--219, 2006. Google ScholarGoogle ScholarDigital LibraryDigital Library
  16. G. J. Holzmann. The model checker SPIN. IEEE Transactions on Software Engineering, 23(5):279--295, 1997. Google ScholarGoogle ScholarDigital LibraryDigital Library
  17. G. J. Holzmann. On-the-fly, LTL model checking with SPIN: Man pages. http://spinroot.com/spin/Man/index.html, 2006.Google ScholarGoogle Scholar
  18. IBM alphaWorks. IBM Intelligent Test Case Handler. http://www.alphaworks.ibm.com/tech/whitch, 2005.Google ScholarGoogle Scholar
  19. D. Kuhn, D. R. Wallace, and A. M. Gallo. Software fault interactions and implications for software testing. IEEE Transactions on Software Engineering, 30(6):418--421, 2004. Google ScholarGoogle ScholarDigital LibraryDigital Library
  20. C. Lott, A. Jain, and S. Dalal. Modeling requirements for combinatorial software testing. In Workshop on Advances in Model-based Software Testing, pages 1--7, May 2005. Google ScholarGoogle ScholarDigital LibraryDigital Library
  21. S. Malik. zchaff. http://www.princeton.edu/~chaff/zchaff.html, 2004.Google ScholarGoogle Scholar
  22. R. Mandl. Orthogonal latin squares: An application of experiment design to compiler testing. Communications of the ACM, 28(10):1054--1058, October 1985. Google ScholarGoogle ScholarDigital LibraryDigital Library
  23. J. D. McGregor. Testing a software product line. Technical report, Carnegie Mellon, Software Engineering Institute, December 2001.Google ScholarGoogle Scholar
  24. Nokia Corporation. Nokia mobile phone line. http://www.nokiausa.com/phones, 2007.Google ScholarGoogle Scholar
  25. K. Nurmela. Upper bounds for covering arrays by tabu search. Discrete Applied Mathematics, 138(1-2):143--152, 2004. Google ScholarGoogle ScholarDigital LibraryDigital Library
  26. D. L. Parnas. On the design and development of program families. IEEE Transactions on Software Engineering, 2(1):1--9, 1976.Google ScholarGoogle ScholarDigital LibraryDigital Library
  27. G. Sherwood. Testcover.com. http://testcover.com/pub/constex.php, 2006.Google ScholarGoogle Scholar
  28. G. Sherwood. Personal communication, 2007.Google ScholarGoogle Scholar
  29. K. C. Tai and Y. Lei. A test generation strategy for pairwise testing. IEEE Transactions on Software Engineering, 28(1):109--111, 2002. Google ScholarGoogle ScholarDigital LibraryDigital Library
  30. Y. Tung and W. S. Aldiwan. Automating test case generation for the new generation mission software system. In Proceedings of the IEEE Aerospace Conference, pages 431--437, 2000.Google ScholarGoogle Scholar
  31. A. W. Williams and R. L. Probert. A measure for component interaction test coverage. In Proceedings of the ACS/IEEE International Conference on Computer Systems and Applications, pages 301--311, Los Alamitos, CA, October 2001. IEEE. Google ScholarGoogle ScholarDigital LibraryDigital Library
  32. C. Yilmaz, M. B. Cohen, and A. Porter. Covering arrays for efficient fault characterization in complex configuration spaces. IEEE Transactions on Software Engineering, 31(1):20--34, 2006. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Interaction testing of highly-configurable systems in the presence of constraints

    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
      ISSTA '07: Proceedings of the 2007 international symposium on Software testing and analysis
      July 2007
      258 pages
      ISBN:9781595937346
      DOI:10.1145/1273463

      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: 9 July 2007

      Permissions

      Request permissions about this article.

      Request Permissions

      Check for updates

      Qualifiers

      • Article

      Acceptance Rates

      Overall Acceptance Rate58of213submissions,27%

      Upcoming Conference

      ISSTA '24

    PDF Format

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader