DocumentCode :
3024155
Title :
Intrusive Test Automation with Failed Test Case Clustering
Author :
Hsueh, Chien-Hsin ; Cheng, Yung-Pin ; Pan, Wei-Cheng
Author_Institution :
Dept. of Comp. Sci. & Inf. Eng., Nat. Taiwan Normal Univ., Taipei, Taiwan
fYear :
2011
fDate :
5-8 Dec. 2011
Firstpage :
89
Lastpage :
96
Abstract :
Regression testing is an indispensable process in software development, which ensures stable features have not been adversely broken by new changes. When GUI plays an important role in an application, a popular choice to automate the tests is applying GUI Capture/Replay tools. Unfortunately, in many applications which render images as output, the correctness of a replay run can no longer be straightforwardly verified. In this paper, we propose a test automation solution, called Intrusive Test Automation, which uses program instrumentation technique to collect the runtime internal information of a program. As a result, the correctness of a test run can be verified by the runtime traces. In addition, when large number of failed test cases are reported by the test automation system, recommending some representative test cases as a start for debugging can be helpful to programmers. This paper proposes a clustering technique based on the information collected from the instrumented code. In principle, fixing bugs in one representative test case can fix its related failed test cases as well. A case study is presented to demonstrate the effectiveness of the approach.
Keywords :
graphical user interfaces; pattern clustering; program testing; regression analysis; GUI capture/replay tools; failed test case clustering; image rendering; instrumentation technique; intrusive test automation; regression testing; software development process; Automation; Debugging; Graphical user interfaces; Mice; Probes; Testing; Three dimensional displays; Clustering; GUI Capture/Replay; Program instrumentation; Test automation; Test case selection; Test-suite reduction;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Software Engineering Conference (APSEC), 2011 18th Asia Pacific
Conference_Location :
Ho Chi Minh
ISSN :
1530-1362
Print_ISBN :
978-1-4577-2199-1
Type :
conf
DOI :
10.1109/APSEC.2011.31
Filename :
6130674
Link To Document :
بازگشت