• DocumentCode
    3073556
  • Title

    Evolutionary Generation of Whole Test Suites

  • Author

    Fraser, Gordon ; Arcuri, Andrea

  • Author_Institution
    Comput. Sci., Saarland Univ., Saarbrucken, Germany
  • fYear
    2011
  • fDate
    13-14 July 2011
  • Firstpage
    31
  • Lastpage
    40
  • Abstract
    Recent advances in software testing allow automatic derivation of tests that reach almost any desired point in the source code. There is, however, a fundamental problem with the general idea of targeting one distinct test coverage goal at a time: Coverage goals are neither independent of each other, nor is test generation for any particular coverage goal guaranteed to succeed. We present EVOSUITE, a search-based approach that optimizes whole test suites towards satisfying a coverage criterion, rather than generating distinct test cases directed towards distinct coverage goals. Evaluated on five open source libraries and an industrial case study, we show that EVOSUITE achieves up to 18 times the coverage of a traditional approach targeting single branches, with up to 44% smaller test suites.
  • Keywords
    program testing; public domain software; software libraries; EVOSUITE; coverage criterion; evolutionary generation; open source library; search-based approach; software testing; source code; test coverage goal; test suite; Genetic algorithms; Genetic programming; Optimization; Search problems; Software; Software testing; Search based software engineering; branch coverage; genetic algorithm; length;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Quality Software (QSIC), 2011 11th International Conference on
  • Conference_Location
    Madrid
  • ISSN
    1550-6002
  • Print_ISBN
    978-1-4577-0754-4
  • Electronic_ISBN
    1550-6002
  • Type

    conf

  • DOI
    10.1109/QSIC.2011.19
  • Filename
    6004309