Generating tests from counterexamples
Dirk Beyer, Adam J. Chlipala, Thomas A. Henzinger et al. · Proceedings/Proceedings - International Conference on Software Engineering · 2004
We have extended the software model checker BLAST to automatically generate test suites that guarantee full coverage with respect to a given predicate. More precisely, given a C program and a target predicate p, BLAST determines the set L of program locations which program execution can reach with p true, and automatically generates a set of test vectors that exhibit the truth of p at all locations in L. We have used BLAST to generate test suites and to detect dead code in C programs with up to 30 K lines of code. The analysis and test vector generation is fully automatic (no user intervention) and exact (no false positives).
Cited by 124 works. doi:10.1109/icse.2004.1317455
Authors
References
- Compilers: Principles, Techniques, and Tools
- A Discipline of Programming
- Symbolic execution and program testing
- A System to Generate Test Data and Symbolically Execute Programs
- On the Automated Generation of Program Test Data
- CIL: Intermediate Language and Tools for Analysis and Transformation of C Programs
- Enforceable security policies
- Lazy abstraction
- The S LAM project
- A system and language for building system-specific, static analyses