ComputingComputer ScienceProgramming LanguagesSoftware EngineeringTest DevelopmentAssertion-based VerificationSoftware TestingAutomated Bug FindingAutomated Test GenerationTest Case GenerationTest CasesTest GenerationTest OraclesTest Suite GenerationTesting
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 effective 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.
13
Patrice Godefroid, Nils Klarlund, Koushik Sen · ACM SIGPLAN Notices · 2005 · 2.1K citations
Patrice Godefroid, Nils Klarlund, Koushik Sen · 2005 · 1.5K citations
Carlos Pacheco, Michael D. Ernst · 2007 · 519 citations
Evolutionary testing of classes
Paolo Tonella · 2004 · 402 citations