Publication | Closed Access
Entropy-based test generation for improved fault localization
68
Citations
37
References
2013
Year
Unknown Venue
EngineeringUnderlying Genetic AlgorithmVerificationDiagnosisTest Data GenerationSoftware EngineeringSoftware AnalysisFormal VerificationReliability EngineeringData ScienceSpectrum-based Bayesian ReasoningFault AnalysisSystems EngineeringEntropy-based Test GenerationDiagnostic RankingTest GenerationReliabilityComputer ScienceMutation-based TestingProgram AnalysisSoftware TestingFormal MethodsTest Case DesignCombinatorial Testing WorkflowTest EvolutionFault Injection
Spectrum-based Bayesian reasoning can effectively rank candidate fault locations based on passing/failing test cases, but the diagnostic quality highly depends on the size and diversity of the underlying test suite. As test suites in practice often do not exhibit the necessary properties, we present a technique to extend existing test suites with new test cases that optimize the diagnostic quality. We apply probability theory concepts to guide test case generation using entropy, such that the amount of uncertainty in the diagnostic ranking is minimized. Our ENTBUG prototype extends the search-based test generation tool EVOSUITE to use entropy in the fitness function of its underlying genetic algorithm, and we applied it to seven real faults. Empirical results show that our approach reduces the entropy of the diagnostic ranking by 49% on average (compared to using the original test suite), leading to a 91% average reduction of diagnosis candidates needed to inspect to find the true faulty one.
| Year | Citations | |
|---|---|---|
Page 1
Page 1