• DocumentCode
    3176224
  • Title

    It is Not the Length That Matters, It is How You Control It

  • Author

    Fraser, Gordon ; Arcuri, Andrea

  • Author_Institution
    Comput. Sci., Saarland Univ., Saarbrucken, Germany
  • fYear
    2011
  • fDate
    21-25 March 2011
  • Firstpage
    150
  • Lastpage
    159
  • Abstract
    The length of test cases is a little investigated topic in search-based test generation for object oriented software, where test cases are sequences of method calls. While intuitively longer tests can achieve higher overall code coverage, there is always the threat of bloat - a complex phenomenon in evolutionary computation, where the length abnormally grows over time. In this paper, we show that bloat indeed also occurs in the context of test generation for object oriented software. We present different techniques to overcome the problem of length bloat, and evaluate all possible combinations of these techniques using different search lengths. Experiments on a set of difficult search targets selected from several open source and industrial projects show that the important choice in search-based testing is not the length of test cases, but how to make sure that this length does not become bloated.
  • Keywords
    evolutionary computation; object-oriented programming; program testing; search problems; evolutionary computation; length bloat; object oriented software; search length; search-based test generation; test case length; Biological cells; Context; Genetic algorithms; Search problems; Software; Software testing; bloat control; search-based testing; test case generation; test case length;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Software Testing, Verification and Validation (ICST), 2011 IEEE Fourth International Conference on
  • Conference_Location
    Berlin
  • Print_ISBN
    978-1-61284-174-8
  • Electronic_ISBN
    978-0-7695-4342-0
  • Type

    conf

  • DOI
    10.1109/ICST.2011.54
  • Filename
    5770604