DocumentCode :
3176074
Title :
Exploiting Common Object Usage in Test Case Generation
Author :
Fraser, Gordon ; Zeller, Andreas
Author_Institution :
Comput. Sci., Saarland Univ., Saarbrucken, Germany
fYear :
2011
fDate :
21-25 March 2011
Firstpage :
80
Lastpage :
89
Abstract :
Generated test cases are good at systematically exploring paths and conditions in software. However, generated test cases often do not make sense. We adapt test case generation to follow patterns of common object usage, as mined from code examples. Our experiments show that generated tests thus (a) reuse familiar usage patterns, making them easier to understand and (b) focus on common usage, thus respecting implicit preconditions and avoiding meaningless tests.
Keywords :
program testing; common object usage exploitation; test case generation; usage pattern reusing; Data mining; Libraries; Markov processes; Object oriented modeling; Search problems; Software; Testing; readability; specification mining; test case generation;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Software Testing, Verification and Validation (ICST), 2011 IEEE Fourth International Conference on
Conference_Location :
Berlin
Print_ISBN :
978-1-61284-174-8
Electronic_ISBN :
978-0-7695-4342-0
Type :
conf
DOI :
10.1109/ICST.2011.53
Filename :
5770597
Link To Document :
بازگشت