DART
Patrice Godefroid, Nils Klarlund, Koushik Sen · Proceedings of the ACM SIGPLAN Conference on Programming Language Design and Implementation · 2005
We present a new tool, named DART, for automatically testing software that combines three main techniques: (1) automated extraction of the interface of a program with its external environment using static source-code parsing; (2) automatic generation of a test driver for this interface that performs random testing to simulate the most general environment the program can operate in; and (3) dynamic analysis of how the program behaves under random testing and automatic generation of new test inputs to direct systematically the execution along alternative program paths. Together, these three techniques constitute Directed Automated Random Testing, or DART for short. The main strength of DART is thus that testing can be performed completely automatically on any program that compiles -- there is no need to write any test driver or harness code. During testing, DART detects standard errors such as program crashes, assertion violations, and non-termination. Preliminary experiments to unit test several examples of C programs are very encouraging.
Cited by 1,570 works. doi:10.1145/1065010.1065036
Authors
References
- Using encryption for authentication in large networks of computers
- Symbolic execution and program testing
- Lazy abstraction
- Model checking for programming languages using VeriSoft
- CCured
- An attack on the Needham-Schroeder public-key authentication protocol
- A system and language for building system-specific, static analyses
- QuickCheck
- Korat
- Automatic generation of random self-checking test cases