DocumentCode :
3773130
Title :
Exploiting Annotations to Test Break-off Branches
Author :
I. S. W. B. Prasetya;J. Hage;A. Elyasov
fYear :
2015
Firstpage :
80
Lastpage :
87
Abstract :
Programs often contain branches to break off from their main execution. These branches contribute to the total cost of testing, because they also need to be tested. The paper presents a new approach to improve the testing of such branches by annotating them. Our tool automatically generates test-sequences. Then, invariants in the form of pre-and post-condition over the executions passing each annotated branch are dynamically inferred, and reported to the programmer for inspection. Contradiction with the programmer´s assumption on what the behavior should be indicates a bug. As invariants, a certain class of simple expressions are proposed, which are discriminative enough for testing break-off behavior, while keeping their amount feasible for inspection.
Keywords :
"Testing","Inspection","Java","Manuals","Syntactics","Software engineering","Data mining"
Publisher :
ieee
Conference_Titel :
Software Engineering Conference (APSEC), 2015 Asia-Pacific
Electronic_ISBN :
1530-1362
Type :
conf
DOI :
10.1109/APSEC.2015.25
Filename :
7467286
Link To Document :
بازگشت