DocumentCode
2587917
Title
Automatically identifying special and common unit tests for object-oriented programs
Author
Xie, Tao ; Notkin, David
Author_Institution
Dept. of Comput. Sci., North Carolina State Univ.
fYear
2005
fDate
1-1 Nov. 2005
Lastpage
287
Abstract
Developers often create common tests and special tests, which exercise common behaviors and special behaviors of the class under test, respectively. Although manually created tests are valuable, developers often overlook some special or even common tests. We have developed a new approach for automatically identifying special and common unit tests for a class without requiring any specification. Given a class, we automatically generate test inputs and identify common and special tests among the generated tests. Developers can inspect these identified tests and use them to augment existing tests. Our approach is based on statistical algebraic abstractions, program properties (in the form of algebraic specifications) dynamically inferred based on a set of predefined abstraction templates. We use statistical algebraic abstractions to characterize program behaviors and identify special and common tests. Our initial experience has shown that a relatively small number of common and special tests can be identified among a large number of generated tests and these identified tests expose common and special behaviors that deserve developers´ attention
Keywords
algebraic specification; object-oriented programming; program testing; statistical analysis; abstraction templates; algebraic specifications; object-oriented programs; program behavior characterization; statistical algebraic abstractions; test generation; unit test identification; Abstracts; Automatic testing; Computer science; Equations; Programming; Reliability engineering; Runtime; Software reliability; Software testing; Unified modeling language;
fLanguage
English
Publisher
ieee
Conference_Titel
Software Reliability Engineering, 2005. ISSRE 2005. 16th IEEE International Symposium on
Conference_Location
Chicago, IL
ISSN
1071-9458
Print_ISBN
0-7695-2482-6
Type
conf
DOI
10.1109/ISSRE.2005.12
Filename
1544742
Link To Document