Title :
An Empirical Comparison of Automated Generation and Classification Techniques for Object-Oriented Unit Testing
Author :
D´Amorim, Marcelo ; Pacheco, Carlos ; Xie, Tao ; Marinov, Darko ; Ernst, Michael D.
Author_Institution :
Dept. of Comput. Sci., Illinois Univ., Urbana-Champaign, IL
Abstract :
Testing involves two major activities: generating test inputs and determining whether they reveal faults. Automated test generation techniques include random generation and symbolic execution. Automated test classification techniques include ones based on uncaught exceptions and violations of operational models inferred from manually provided tests. Previous research on unit testing for object-oriented programs developed three pairs of these techniques: model-based random testing, exception-based random testing, and exception-based symbolic testing. We develop a novel pair, model-based symbolic testing. We also empirically compare all four pairs of these generation and classification techniques. The results show that the pairs are complementary (i.e., reveal faults differently), with their respective strengths and weaknesses
Keywords :
exception handling; fault diagnosis; object-oriented programming; program testing; automated test classification; automated test generation; object-oriented programs; object-oriented unit testing; random testing; symbolic execution; symbolic testing; test input generation; Artificial intelligence; Automatic testing; Computer science; Concrete; Formal specifications; Object oriented modeling; Programming profession; Random sequences; Software engineering; Software testing;
Conference_Titel :
Automated Software Engineering, 2006. ASE '06. 21st IEEE/ACM International Conference on
Conference_Location :
Tokyo
Print_ISBN :
0-7695-2579-2
DOI :
10.1109/ASE.2006.13