2004 · 501 citations · 38 references
ComputingComputer ScienceData StructuresFormal MethodsProgramming LanguagesAbstract Syntax TreesData-flow AnalysisModel CheckingModel-driven Software EngineeringSoftware TestingSymbolic ExecutionAutomated Test GenerationCoverageRed-black TreesSymbolic Execution EnginesTest Case GenerationTest Data GenerationTest GenerationWhite-box Testing
We show how model checking and symbolic execution can be used to generate test inputs to achieve structural coverage of code that manipulates complex data structures. We focus on obtaining branch-coverage during unit testing of some of the core methods of the red-black tree implementation in the Java TreeMap library, using the Java PathFinder model checker. Three different test generation techniques will be introduced and compared, namely, straight model checking of the code, model checking used in a black-box fashion to generate all inputs up to a fixed size, and lastly, model checking used during white-box test input generation. The main contribution of this work is to show how efficient white-box test input generation can be done for code manipulating complex data, taking into account complex method preconditions.
38
Adhi Harmoko S, M.Komp, Joseph Marie Jacquard et al. · 2005 · 18.4K citations
V. J. Rayward‐Smith, Thomas H. Cormen, Charles E. Leiserson et al. · Journal of the Operational Research Society · 1991 · 17K citations
E. M. Clarke, Orna Grümberg, D. Long · 1996 · 6.9K citations
The Massachusetts Institute of Technology
S.C. Fang Endowed · Anthropology News · 1999 · 3.1K citations
1990 · 3.1K citations