Evolutionary Generation of Whole Test Suites

Gordon Fraser, Andrea Arcuri
2011 2011 11th International Conference on Quality Software  
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,
more » ... ather 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.
doi:10.1109/qsic.2011.19 dblp:conf/qsic/FraserA11 fatcat:5onyrxkvpzci7bkmyowlpwhf4m