DocumentCode
3076804
Title
Feedback-Directed Test Case Generation Based on UML Activity Diagrams
Author
Chen, Xin ; Ye, Nan ; Jiang, Peng ; Bu, Lei ; Li, Xuandong
Author_Institution
Dept. of Comput. Sci. & Technol., Nanjing Univ., Nanjing, China
fYear
2011
fDate
27-29 June 2011
Firstpage
9
Lastpage
10
Abstract
As UML models are widely used as design blueprints, model-based techniques can be used in test case generation. However, test cases obtained from these techniques are usually abstract test cases, represented as sequences of actions in abstract models, and heavy human efforts are needed to translate them into concrete test cases accepted by programs for execution. To reduce this effort, we present an approach to automatically generating executable test cases based on activity diagrams. It relates methods of classes in JAVA programs with activity nodes in their design models and instruments codes into JAVA programs to collect traces in execution. Regarding traces collected in execution as feedbacks, data classifiers that can predict test inputs´ impact on decision nodes in activity diagrams are constructed. Those data classifiers are used to guide the creation of new test inputs that can cover untouched paths in design models. Experiments show that the approach can greatly relieve testers´ burden in preparing test cases.
Keywords
Java; Unified Modeling Language; pattern classification; program testing; JAVA programs; UML activity diagrams; data classifiers; feedback-directed test case generation; model-based techniques; Automation; Computational modeling; Concrete; Instruments; Java; Software; Unified modeling language; Activity Diagram; Feedback-directed; Test case generation;
fLanguage
English
Publisher
ieee
Conference_Titel
Secure Software Integration & Reliability Improvement Companion (SSIRI-C), 2011 5th International Conference on
Conference_Location
Jeju Island
Print_ISBN
978-1-4577-0781-0
Electronic_ISBN
978-0-7695-4454-0
Type
conf
DOI
10.1109/SSIRI-C.2011.12
Filename
6004495
Link To Document