skip to main content
10.1145/1882291.1882346acmconferencesArticle/Chapter ViewAbstractPublication PagesfseConference Proceedingsconference-collections
extended-abstract

Generating integration test cases automatically

Published:07 November 2010Publication History

ABSTRACT

In this thesis, I investigate the problem of automatically generating test cases. In particular, I focus on the problem of automatic generation of integration test cases from unit test cases. I start from the observation that software is usually provided with many unit test cases, and that unit test cases carry a lot of information about the unit execution that can be used to generate integration test cases. This paper illustrates the approach that I am investigating and that consists in capturing information in unit test cases with static analysis techniques to automatically merge unit test cases to produce useful integration test cases. The preliminary results reported in this paper provide evidence of the effectiveness of the approach. My current research is developing the approach further and producing additional experimental evidence. I expect to complete the research by defining a set of design for testability rules to produce software that facilitates the automatic generation of integration test cases.

References

  1. L. Baresi and M. Young. Test oracles. Technical Report CIS-TR-01-02, University of Oregon, Dept. of Computer and Information Science, August 2001.Google ScholarGoogle Scholar
  2. A. Bertolino. Software testing research: Achievements, challenges, dreams. In FOSE '07: 2007 Future of Software Engineering, pages 85--103, 2007. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. L. C. Briand, Y. Labiche, and Y. Wang. An investigation of graph-based class integration test order strategies. IEEE Trans. SW Eng., 29(7):594--607, 2003. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. M. Broy, B. Jonsson, J.-P. Katoen, M. Leucker, and A. Pretschner. Model-Based Testing of Reactive Systems: Advanced Lectures. Springer, 2005. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. B. Daniel, T. Gvero, and D. Marinov. On test repair using symbolic execution. In ISSTA '10: Int. Symp. on SW Testing and Analysis, pages 207--218, 2010. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. S. Elbaum, H. N. Chin, M. Dwyer, and M. Jorde. Carving and replaying differential unit test cases from system test cases. IEEE Trans. SW Eng., 35(1):29--45, 2009. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. M. Pezzè and M. Young. Software Testing and Analysis: Process, Principles, and Techniques. John Wiley & Sons, Inc, 2007. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. G. Rothermel, S. Elbaum, A. G. Malishevsky, P. Kallakuri, and X. Qiu. On test suite composition and cost-effective regression testing. ACM Trans. SW Eng. Methodol., 13(3):277--331, 2004. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. K. Taneja and T. Xie. DiffGen: Automated regression unit-test generation. In Proc. 23rd Int. Conf. on Automated Software Engineering ASE, 2008. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. S. Thummalapenta, T. Xie, N. Tillmann, J. de Halleux, and W. Schulte. MSeqGen: object-oriented unit-test generation via mining source code. In ESEC/FSE, pages 193--202, 2009. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. T. Xie. Improving automation in developer testing: State of the practice. Technical Report TR-2009-6, North Carolina State University Department of Computer Science, February 2009.Google ScholarGoogle Scholar
  12. H. Yuan and T. Xie. Substra: A framework for automatic generation of integration tests. In WS on Automation of SW Test, pages 64--70, 2006. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Generating integration test cases automatically

    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
      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

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

      Publisher

      Association for Computing Machinery

      New York, NY, United States

      Publication History

      • Published: 7 November 2010

      Permissions

      Request permissions about this article.

      Request Permissions

      Check for updates

      Qualifiers

      • extended-abstract

      Acceptance Rates

      Overall Acceptance Rate17of128submissions,13%

    PDF Format

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader