AuthorsG. Fraser and A. Arcuri
EditorsA. Zeller
TitleEvoSuite: Automatic Test Suite Generation for Object-Oriented Software.
AfilliationSoftware Engineering, Software Engineering
Publication TypeProceedings, refereed
Year of Publication2011
Conference NameACM Symposium on the Foundations of Software Engineering (FSE)
ISBN Number978-1-4503-0443-6

To find defects in software, one needs test cases that execute the software systematically, and oracles that assess the correctness of the observed behavior when running these test cases. This paper presents EvoSuite, a tool that automatically generates test cases with assertions for classes written in Java code. To achieve this, EvoSuite applies a novel hybrid approach that generates and optimizes whole test suites towards satisfying a coverage criterion. For the produced test suites, EvoSuite suggests possible oracles by adding small and eff ective sets of assertions that concisely summarize the current behavior; these assertions allow the developer to detect deviations from expected behavior, and to capture the current behavior in order to protect against future defects breaking this behavior.

Citation KeySimula.simula.692