Title :
Test Case Prioritization Based on Analysis of Program Structure
Author :
Ma, Zengkai ; Zhao, Jianjun
Author_Institution :
Dept. of Comput. Sci., Shanghai Jiao Tong Univ., Shanghai
Abstract :
Test case prioritization techniques have been empirically proved to be effective in improving the rate of fault detection in regression testing. However, most of previous techniques assume that all the faults have equal severity, which dose not meet the practice. In addition, because most of the existing techniques rely on the information gained from previous execution of test cases or source code changes, few of them can be directly applied to non-regression testing. In this paper, aiming to improve the rate of severe faults detection for both regression testing and non-regression testing, we propose a novel test case prioritization approach based on the analysis of program structure. The key idea of our approach is the evaluation of testing-importance for each module (e.g., method) covered by test cases. As a proof of concept, we implement $Apros$, a test case prioritization tool, and perform an empirical study on two real, non-trivial Java programs. The experimental result represents that our approach could be a promising solution to improve the rate of severe faults detection.
Keywords :
Java; program testing; software engineering; nontrivial Java programs; program structure analysis; regression testing; test case prioritization; Computer bugs; Computer science; Fault detection; Fault location; Information analysis; Java; Performance evaluation; Software engineering; Software testing; System testing; Test case prioritization; call graph; program analysis;
Conference_Titel :
Software Engineering Conference, 2008. APSEC '08. 15th Asia-Pacific
Conference_Location :
Beijing
Print_ISBN :
978-0-7695-3446-6
DOI :
10.1109/APSEC.2008.63