Authors | G. Fraser and A. Arcuri |
Title | Whole Test Suite Generation |
Afilliation | Software Engineering |
Project(s) | The Certus Centre (SFI) |
Status | Published |
Publication Type | Journal Article |
Year of Publication | 2013 |
Journal | IEEE Transactions on Software Engineering |
Volume | 39 |
Number | 2 |
Publisher | IEEE |
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 open source libraries and an industrial case study for a total of 1,752 classes, we show that EVOSUITE achieved up to 188 times the coverage of a traditional approach targeting single branches, with up to 62% smaller test suites. |
Citation Key | Simula.simula.718 |