• DocumentCode
    665547
  • Title

    Improving search-based test suite generation with dynamic symbolic execution

  • Author

    Galeotti, Juan Pablo ; Fraser, Gordon ; Arcuri, Andrea

  • Author_Institution
    Saarland Univ., Saarbrucken, Germany
  • fYear
    2013
  • fDate
    4-7 Nov. 2013
  • Firstpage
    360
  • Lastpage
    369
  • Abstract
    Search-based testing can automatically generate unit test suites for object oriented code, but may struggle to generate specific values necessary to cover difficult parts of the code. Dynamic symbolic execution (DSE) efficiently generates such specific values, but may struggle with complex datatypes, in particular those that require sequences of calls for construction. The solution to these problems lies in a hybrid approach that integrates the best of both worlds, but such an integration needs to adapt to the problem at hand to avoid that higher coverage in a few corner cases comes at the price of lower coverage in the general case. We have extended the Genetic Algorithm (GA) in the Evosuite unit test generator to integrate DSE in an adaptive approach where feedback from the search determines when a problem is suitable for DSE. In experiments on a set of difficult classes our adaptive hybrid approach achieved an increase in code coverage of up to 63% (11% on average); experiments on the SF100 corpus of roughly 9,000 open source classes confirm that the improvement is of practical value, and a comparison with a DSE tool on the Roops set of benchmark classes shows that the hybrid approach improves over both its constituent techniques, GA and DSE.
  • Keywords
    genetic algorithms; program testing; software quality; DSE tool; EVOSUITE unit test generator; SF100 corpus; adaptive approach; dynamic symbolic execution; genetic algorithm; hybrid approach; object oriented code; open source classes; search-based test suite generation; software quality; Concrete; Genetic algorithms; Search problems; Sociology; Standards; Statistics; Testing;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Software Reliability Engineering (ISSRE), 2013 IEEE 24th International Symposium on
  • Conference_Location
    Pasadena, CA
  • Type

    conf

  • DOI
    10.1109/ISSRE.2013.6698889
  • Filename
    6698889